MCPcopy Create free account
hub / github.com/git-bug/git-bug / processDeferredGroup

Method processDeferredGroup

api/graphql/graph/root_.generated.go:1863–1880  ·  view source on GitHub ↗
(dg graphql.DeferredGroup)

Source from the content-addressed store, hash-verified

1861}
1862
1863func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
1864 atomic.AddInt32(&ec.pendingDeferred, 1)
1865 go func() {
1866 ctx := graphql.WithFreshResponseContext(dg.Context)
1867 dg.FieldSet.Dispatch(ctx)
1868 ds := graphql.DeferredResult{
1869 Path: dg.Path,
1870 Label: dg.Label,
1871 Result: dg.FieldSet,
1872 Errors: graphql.GetErrors(ctx),
1873 }
1874 // null fields should bubble up
1875 if dg.FieldSet.Invalids > 0 {
1876 ds.Result = graphql.Null
1877 }
1878 ec.deferredResults <- ds
1879 }()
1880}
1881
1882func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
1883 if ec.DisableIntrospection {

Callers 15

_RepositoryMethod · 0.95
_BugCreateOperationMethod · 0.95
_BugSetTitleOperationMethod · 0.95
_LabelMethod · 0.95
_LabelChangeResultMethod · 0.95
_LabelConnectionMethod · 0.95
_LabelEdgeMethod · 0.95
_ColorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected