(ctx context.Context, field graphql.CollectedField, obj models.BugWrapper)
| 904 | } |
| 905 | |
| 906 | func (ec *executionContext) _Bug_actors(ctx context.Context, field graphql.CollectedField, obj models.BugWrapper) (ret graphql.Marshaler) { |
| 907 | fc, err := ec.fieldContext_Bug_actors(ctx, field) |
| 908 | if err != nil { |
| 909 | return graphql.Null |
| 910 | } |
| 911 | ctx = graphql.WithFieldContext(ctx, fc) |
| 912 | defer func() { |
| 913 | if r := recover(); r != nil { |
| 914 | ec.Error(ctx, ec.Recover(ctx, r)) |
| 915 | ret = graphql.Null |
| 916 | } |
| 917 | }() |
| 918 | resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { |
| 919 | ctx = rctx // use context from middleware stack in children |
| 920 | return ec.resolvers.Bug().Actors(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int)) |
| 921 | }) |
| 922 | if err != nil { |
| 923 | ec.Error(ctx, err) |
| 924 | return graphql.Null |
| 925 | } |
| 926 | if resTmp == nil { |
| 927 | if !graphql.HasFieldError(ctx, fc) { |
| 928 | ec.Errorf(ctx, "must not be null") |
| 929 | } |
| 930 | return graphql.Null |
| 931 | } |
| 932 | res := resTmp.(*models.IdentityConnection) |
| 933 | fc.Result = res |
| 934 | return ec.marshalNIdentityConnection2ᚖgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐIdentityConnection(ctx, field.Selections, res) |
| 935 | } |
| 936 | |
| 937 | func (ec *executionContext) fieldContext_Bug_actors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { |
| 938 | fc = &graphql.FieldContext{ |
no test coverage detected