graphql-platform
graphql-platform copied to clipboard
Add schema first approach to bind directives similarly like object types are bound
Add schema first approach to bind directives similarly like object types are bound BindType<T>().
Currently, if directive is declared with DirectiveType<TDirective> then declaration in schema has no effect and no error arrises when declarations are not equal. Directive declared in code takes precedence.
We will rework how schema-first works and add lots of improvements on that with version 12