mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Update GQLGen and break up the schema.graphql file
This commit is contained in:
4
vendor/github.com/99designs/gqlgen/graphql/error.go
generated
vendored
4
vendor/github.com/99designs/gqlgen/graphql/error.go
generated
vendored
@@ -14,7 +14,9 @@ type ExtendedError interface {
|
||||
|
||||
func DefaultErrorPresenter(ctx context.Context, err error) *gqlerror.Error {
|
||||
if gqlerr, ok := err.(*gqlerror.Error); ok {
|
||||
gqlerr.Path = GetResolverContext(ctx).Path()
|
||||
if gqlerr.Path == nil {
|
||||
gqlerr.Path = GetResolverContext(ctx).Path()
|
||||
}
|
||||
return gqlerr
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user