Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 376 Bytes

TODO.md

File metadata and controls

10 lines (7 loc) · 376 Bytes

TODO

3 steps to validating SDL document:

  • graphql.ValidateSDL: Runs the rules in rules.go.
  • buildSchema: Builds up a *graphql.Schema, possibly extending an existing one.
  • graphql.ValidateSchema: Validates that built schema.

BuildSchema is used in tests, which wil run ValidateSDL, and is more lenient, allowing us to write shorter schema documents in tests.