gql
gql copied to clipboard
Type System Directives
These directives should be only for the schema, for server usage.
Apollo's solution could be a way to go with this. Having different interfaces for each location would be great solution. Each "visit" function could override the actual type/resource it's for.
- [ ] Schema
- [ ] Scalar
- [ ] Object
- [x] Field definition
- [ ] Argument definition
- [ ] Interface
- [ ] Union
- [ ] Enum
- [ ] EnumValue
- [ ] InputObject
- [ ] InputField