fix(deps): update module github.com/99designs/gqlgen to v0.17.53
This commit is contained in:
@@ -4480,27 +4480,15 @@ func (ec *executionContext) _Supergraph(ctx context.Context, sel ast.SelectionSe
|
||||
case nil:
|
||||
return graphql.Null
|
||||
case model.Unchanged:
|
||||
if len(graphql.CollectFields(ec.OperationContext, sel, []string{"Supergraph", "Unchanged"})) == 0 {
|
||||
return graphql.Empty{}
|
||||
}
|
||||
return ec._Unchanged(ctx, sel, &obj)
|
||||
case *model.Unchanged:
|
||||
if len(graphql.CollectFields(ec.OperationContext, sel, []string{"Supergraph", "Unchanged"})) == 0 {
|
||||
return graphql.Empty{}
|
||||
}
|
||||
if obj == nil {
|
||||
return graphql.Null
|
||||
}
|
||||
return ec._Unchanged(ctx, sel, obj)
|
||||
case model.SubGraphs:
|
||||
if len(graphql.CollectFields(ec.OperationContext, sel, []string{"Supergraph", "SubGraphs"})) == 0 {
|
||||
return graphql.Empty{}
|
||||
}
|
||||
return ec._SubGraphs(ctx, sel, &obj)
|
||||
case *model.SubGraphs:
|
||||
if len(graphql.CollectFields(ec.OperationContext, sel, []string{"Supergraph", "SubGraphs"})) == 0 {
|
||||
return graphql.Empty{}
|
||||
}
|
||||
if obj == nil {
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user