graphql-js
graphql-js copied to clipboard
fix: check the actual `GraphQLDirective` instance in `isSpecifiedDirective`
Related https://github.com/ardatan/graphql-tools/pull/7716
Fixes the bug when a GraphQLDirective instance is passed with the same name as specified directives, isSpecifiedDirective returns true unexpectedly.
@ardatan is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.
A member of the Team first needs to authorize it.