0.1.0 • Published 5 years ago
@fellesdatakatalog/graphql v0.1.0
@fellesdatakatalog/graphql
Felles datakatalog collection of reusable GraphQL modules.
Installation
npm i @fellesdatakatalog/graphqlDependencies
- graphql
 - apollo-server
 - axios
 - jose
 - validator
 - winston
 
Usage
Directives
The following directives are available:
@auth- checks authorisation state when accessing GraphQL fields and objects@permission- checks for necessary permissions when accessing GraphQL fields and objects@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
 
0.1.0
5 years ago