(ctx context.Context, sel ast.SelectionSet, v string)
| 8592 | } |
| 8593 | |
| 8594 | func (ec *executionContext) marshalNID2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { |
| 8595 | res := graphql.MarshalID(v) |
| 8596 | if res == graphql.Null { |
| 8597 | if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { |
| 8598 | ec.Errorf(ctx, "the requested element is null which the schema does not allow") |
| 8599 | } |
| 8600 | } |
| 8601 | return res |
| 8602 | } |
| 8603 | |
| 8604 | func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) { |
| 8605 | res, err := graphql.UnmarshalInt(v) |
no outgoing calls
no test coverage detected