We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
directive @checkMutation on OBJECT | MUTATION
type Mutation @checkMutation {...}
gqlConfig.Directives.CheckMutation = func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) { return nil, nil }
Application runtime goes to CheckMutation func
directive @checkMutation on OBJECT | MUTATION input NewTodo { text: String! userId: String! } type Todo { id: ID! text: String! done: Boolean! user: User! } type Mutation @checkMutation { createTodo(input: NewTodo!): Todo! }
go run github.com/99designs/gqlgen version
go version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
directive @checkMutation on OBJECT | MUTATION
in schema.graphqlstype Mutation @checkMutation {...}
What did you expect?
Application runtime goes to CheckMutation func
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen version
? - v0.17.36go version
? - go version go1.21.1 linux/amd64The text was updated successfully, but these errors were encountered: