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
Why just not taking over graphql-tools-fork fixes to graphql-tools? Really hard for me to understand, just to say its deprecated. Seems to me, like a sad story.
Declared a custom @auth directive on OBJECT:
directive @auth on OBJECT
The directive extends
SchemaDirectiveVisitor
and implementsvisitObject
When the directive is applied to the original type it works correctly and the type requires authorisation.
When the directive is applied to an extended type (and not the original type definition) it is completely ignored.
When applied to the extended type the
astNode.directives
property of theStream
type is empty.I couldn't see anything in the docs or the spec which suggests that OBJECT level directives can not be applied to extended types. Any ideas?
The text was updated successfully, but these errors were encountered: