Skip to main content

requiredScopes

If this directive is included on an object, union, or field, it indicates that the scopes included in the directive are required to execute the given part of the query or mutation.

directive @requiredScopes(
scopes: [Scope!]!
) on OBJECT | UNION | FIELD_DEFINITION

Arguments

scopes ● [Scope!]! non-null enum