Closed
Description
At present we do only very shallow validation of schema types, fields and arguments because of performance considerations.
There is also config validation which is unfortunately too limited because it cannot validate fields defined using Closure
.
New schema validation should be split into two steps:
- Lightweight structural validation when creating schema and type instances
- Optional detailed in-depth validation, including interface implementation checks; field, argument names validation, etc
The latter validation could be performed during build-step or when running CLI commands. It will be disabled by default, same as current config validation.
Metadata
Metadata
Assignees
Labels
No labels