chore: regenerate gqlgen code for v0.17.92
schemas / vulnerabilities (pull_request) Successful in 1m19s
schemas / check (pull_request) Successful in 2m1s
schemas / check-release (pull_request) Successful in 2m1s
pre-commit / pre-commit (pull_request) Successful in 4m10s
schemas / build (pull_request) Successful in 4m10s
schemas / deploy-prod (pull_request) Has been skipped
schemas / vulnerabilities (pull_request) Successful in 1m19s
schemas / check (pull_request) Successful in 2m1s
schemas / check-release (pull_request) Successful in 2m1s
pre-commit / pre-commit (pull_request) Successful in 4m10s
schemas / build (pull_request) Successful in 4m10s
schemas / deploy-prod (pull_request) Has been skipped
This commit is contained in:
+135
-150
@@ -3758,7 +3758,8 @@ func (ec *executionContext) _APIKey(ctx context.Context, sel ast.SelectionSet, o
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, aPIKeyImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -3807,16 +3808,14 @@ func (ec *executionContext) _APIKey(ctx context.Context, sel ast.SelectionSet, o
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -3830,7 +3829,8 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet)
|
||||
})
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
|
||||
Object: field.Name,
|
||||
@@ -3891,16 +3891,14 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet)
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -3911,7 +3909,8 @@ func (ec *executionContext) _Organization(ctx context.Context, sel ast.Selection
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, organizationImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -3945,16 +3944,14 @@ func (ec *executionContext) _Organization(ctx context.Context, sel ast.Selection
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -3968,7 +3965,8 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
|
||||
})
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
|
||||
Object: field.Name,
|
||||
@@ -4089,16 +4087,14 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4109,7 +4105,8 @@ func (ec *executionContext) _SchemaUpdate(ctx context.Context, sel ast.Selection
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, schemaUpdateImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4143,16 +4140,14 @@ func (ec *executionContext) _SchemaUpdate(ctx context.Context, sel ast.Selection
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4163,7 +4158,8 @@ func (ec *executionContext) _SubGraph(ctx context.Context, sel ast.SelectionSet,
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, subGraphImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4212,16 +4208,14 @@ func (ec *executionContext) _SubGraph(ctx context.Context, sel ast.SelectionSet,
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4232,7 +4226,8 @@ func (ec *executionContext) _SubGraphs(ctx context.Context, sel ast.SelectionSet
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, subGraphsImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4266,16 +4261,14 @@ func (ec *executionContext) _SubGraphs(ctx context.Context, sel ast.SelectionSet
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4306,7 +4299,8 @@ func (ec *executionContext) _Unchanged(ctx context.Context, sel ast.SelectionSet
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, unchangedImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4330,16 +4324,14 @@ func (ec *executionContext) _Unchanged(ctx context.Context, sel ast.SelectionSet
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4350,7 +4342,8 @@ func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, userImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4369,16 +4362,14 @@ func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4389,7 +4380,8 @@ func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionS
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4428,16 +4420,14 @@ func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionS
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4448,7 +4438,8 @@ func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionS
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4482,16 +4473,14 @@ func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionS
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4502,7 +4491,8 @@ func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet,
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4546,16 +4536,14 @@ func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet,
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4566,7 +4554,8 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4610,16 +4599,14 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4630,7 +4617,8 @@ func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet,
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4674,16 +4662,14 @@ func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet,
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
@@ -4694,7 +4680,8 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o
|
||||
fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
|
||||
|
||||
out := graphql.NewFieldSet(fields)
|
||||
deferred := make(map[string]*graphql.FieldSet)
|
||||
deferredFieldSet := graphql.NewFieldSet(nil)
|
||||
deferLabelToView := make(map[string]*graphql.FieldSetView)
|
||||
for i, field := range fields {
|
||||
switch field.Name {
|
||||
case "__typename":
|
||||
@@ -4763,16 +4750,14 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o
|
||||
return graphql.Null
|
||||
}
|
||||
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferred), math.MaxInt32)))
|
||||
atomic.AddInt32(&ec.Deferred, int32(min(len(deferLabelToView), math.MaxInt32)))
|
||||
|
||||
for label, dfs := range deferred {
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Label: label,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: dfs,
|
||||
Context: ctx,
|
||||
})
|
||||
}
|
||||
ec.ProcessDeferredGroup(graphql.DeferredGroup{
|
||||
Defers: deferLabelToView,
|
||||
Path: graphql.GetPath(ctx),
|
||||
FieldSet: deferredFieldSet,
|
||||
Context: ctx,
|
||||
})
|
||||
|
||||
return out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user