fix(deps): update module github.com/99designs/gqlgen to v0.17.85
This commit is contained in:
1 parent
cfc5de1bb9
commit
0e8d0965b7
3 files changed
+23
-19
No files matched your search
@@ -4196,7 +4196,11 @@ func (ec *executionContext) _Supergraph(ctx context.Context, sel ast.SelectionSe
|
||||
}
|
||||
return ec._SubGraphs(ctx, sel, obj)
|
||||
default:
|
||||
panic(fmt.Errorf("unexpected type %T", obj))
|
||||
if obj, ok := obj.(graphql.Marshaler); ok {
|
||||
return obj
|
||||
} else {
|
||||
panic(fmt.Errorf("unexpected type %T; non-generated variants of Supergraph must implement graphql.Marshaler", obj))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user