diff --git a/docs/blog/field-types.md b/docs/blog/field-types.md new file mode 100644 index 00000000000..20dd76d86aa --- /dev/null +++ b/docs/blog/field-types.md @@ -0,0 +1,96 @@ + + +# Field types + +Field types in Keystone sit at the intersection of the Database, GraphQL API and User Interface. When you select and configure a field type, you are specifying how data is stored, how types in GraphQL are defined, and how the interface looks in the Admin app. + +To give an example, the `Text` field creates a `TEXT` column in a Postgres database, and a `String` type in a MongoDb schema. It has a return type of `String` in the GraphQL API, and an input type (for mutations) also of `String`. The interface produces a styled `` element or a `