| 8577 | } |
| 8578 | |
| 8579 | func (ec *executionContext) marshalNFloat2float64(ctx context.Context, sel ast.SelectionSet, v float64) graphql.Marshaler { |
| 8580 | res := graphql.MarshalFloatContext(v) |
| 8581 | if res == graphql.Null { |
| 8582 | if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { |
| 8583 | ec.Errorf(ctx, "the requested element is null which the schema does not allow") |
| 8584 | } |
| 8585 | } |
| 8586 | return graphql.WrapContextMarshaler(ctx, res) |
| 8587 | } |
| 8588 | |
| 8589 | func (ec *executionContext) unmarshalNID2string(ctx context.Context, v interface{}) (string, error) { |
| 8590 | res, err := graphql.UnmarshalID(v) |