-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
There is a need to support Directives, currently just the @client
directive for apollo, however I would like us to implement this in a generic way to allow for possible use of @skip(if: ...)
, etc. if needed.
Relavant GraphQL Spec:
http://facebook.github.io/graphql/October2016/#sec-Directives-Are-In-Valid-Locations
Medium article:
https://medium.com/front-end-developers/graphql-directives-3dec6106c384
Initial Requirements:
- Directives can be added to any node in the tree
- Multiple directives can be added for a single node
Future Requirements
- Directives can have arguments