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
The segment of SDL that is failing in Postman (red squiggle on repeatable - expected 'on') directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the resolver shall be executed.By default the resolver is executed after the policy has determined that the current user is allowed to access the field." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on SCHEMA | OBJECT | FIELD_DEFINITION
The text was updated successfully, but these errors were encountered:
The new GraphQL client is in open beta and fully supports the Oct. 21 spec. I was unable to reproduce the red squiggle on repeatable when copy/paste the code from above into the new client.
Is there an existing request for this feature?
Is your feature request related to a problem?
I am trying to consume our GraphQL schema generated by .NET / HotChocolate library and it's failing due to not accepting repeatable on a directive
Describe the solution you'd like
Support for repeatable on directives for GraphQL SDL
Describe alternatives you've considered
No response
Additional context
Repeatable directive in GraphQL draft spec: https://spec.graphql.org/draft/#sec-Type-System.Directives
GraphQL repeatable directive PR: graphql/graphql-spec#472
The segment of SDL that is failing in Postman (red squiggle on repeatable - expected 'on')
directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the resolver shall be executed.By default the resolver is executed after the policy has determined that the current user is allowed to access the field." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on SCHEMA | OBJECT | FIELD_DEFINITION
The text was updated successfully, but these errors were encountered: