@placardi/graphql
v0.10.1
Published
Placardi collection of reusable GraphQL modules.
Downloads
6
Readme
@placardi/graphql
Placardi collection of reusable GraphQL modules.
Installation
npm i @placardi/graphql
Dependencies
- graphql
- apollo-server
- validator
Usage
Directives
The following directives are available:
@shape
- allows adding constraints to GraphQL fields
In order to add a directive to the schema, do the following:
- Add directive-specific type definitions to schema
- Register directive with schema