Open AdieOlami opened 1 year ago
This behavior is also inconsistent between custom types and builtins from what I've observed
You can get around this using graphql.AddError
like:
if err != nil {
graphql.AddError(ctx, err)
return nil, nil
}
What happened?
I created an Auth directive and passed it to just one query but seems like no query works if that single one fails. This is not the given expectation
What did you expect?
I wan only the only query to reflect this directive
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen 0.17.20
?go version 1.19
?