fix(deps): update module github.com/99designs/gqlgen to v0.17.86
This commit is contained in:
@@ -4196,8 +4196,8 @@ func (ec *executionContext) _Supergraph(ctx context.Context, sel ast.SelectionSe
|
||||
}
|
||||
return ec._SubGraphs(ctx, sel, obj)
|
||||
default:
|
||||
if obj, ok := obj.(graphql.Marshaler); ok {
|
||||
return obj
|
||||
if typedObj, ok := obj.(graphql.Marshaler); ok {
|
||||
return typedObj
|
||||
} else {
|
||||
panic(fmt.Errorf("unexpected type %T; non-generated variants of Supergraph must implement graphql.Marshaler", obj))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user