You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Fully-featured GraphQL Server with focus on easy setup, performance & great deve
27
27
* TypeScript typings
28
28
* GraphQL Playground
29
29
* Extensible via Express middlewares
30
+
* Schema directives
30
31
* Apollo Tracing
31
32
* Accepts both `application/json` and `application/graphql` content-type
32
33
* Runs everywhere: Can be deployed via `now`, `up`, AWS Lambda, Heroku etc
@@ -78,6 +79,7 @@ The `props` argument accepts the following fields:
78
79
|`resolvers`| Object |`null`| Contains resolvers for the fields specified in `typeDefs` (required if `schema` is not provided \*) |
79
80
|`schema`| Object |`null`| An instance of [`GraphQLSchema`](http://graphql.org/graphql-js/type/#graphqlschema) (required if `typeDefs` and `resolvers` are not provided \*) |
80
81
|`context`| Object or Function |`{}`| Contains custom data being passed through your resolver chain. This can be passed in as an object, or as a Function with the signature `(req: ContextParameters) => any`\*\*|
82
+
|`schemaDirectives`| Object |`null`|[`Apollo Server schema directives`](https://www.apollographql.com/docs/graphql-tools/schema-directives.html) that allow for transforming schema types, fields, and arguments |
81
83
82
84
> (*) There are two major ways of providing the [schema](https://blog.graph.cool/graphql-server-basics-the-schema-ac5e2950214e) information to the `constructor`:
0 commit comments