You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its a manager class for directives, with visit_schema_directives and get_declared_directives classmethods that make_executable_schema uses to apply directives to the schema
We should introduce new abstraction called SchemaDirective that extends SchemaVisitor, but only adds directive-specific logic, and move management/schema visiting logic to utility functions. SchemaDirectiveVisitor should then be deprecated.
The text was updated successfully, but these errors were encountered:
Currently SchemaDirectiveVisitor does two things:
visit_schema_directives
andget_declared_directives
classmethods thatmake_executable_schema
uses to apply directives to the schemaWe should introduce new abstraction called
SchemaDirective
that extendsSchemaVisitor
, but only adds directive-specific logic, and move management/schema visiting logic to utility functions.SchemaDirectiveVisitor
should then be deprecated.The text was updated successfully, but these errors were encountered: