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
Add option to mute suggestions in validation errors.
potential way:
module.go
gqlHandler.AroundResponses(func(ctx context.Context, next graphql.ResponseHandler) *graphql.Response {
gqlErrors:=graphql.GetErrors(ctx)
ifgqlErrors==nil {
returnnext(ctx)
}
if!strings.Contains(gqlErrors.Error(),"Did you mean") {
returnnext(ctx)
}
resp:=next(ctx)
// modify resp to drop everything after did you mean..returnresp
})
The text was updated successfully, but these errors were encountered:
Add option to mute suggestions in validation errors.
potential way:
module.go
The text was updated successfully, but these errors were encountered: