(m schema.Mutation)
| 76 | } |
| 77 | |
| 78 | func getAddNamespaceInput(m schema.Mutation) (*addNamespaceInput, error) { |
| 79 | inputArg := m.ArgValue(schema.InputArgName) |
| 80 | inputByts, err := json.Marshal(inputArg) |
| 81 | if err != nil { |
| 82 | return nil, schema.GQLWrapf(err, "couldn't get input argument") |
| 83 | } |
| 84 | |
| 85 | var input addNamespaceInput |
| 86 | err = json.Unmarshal(inputByts, &input) |
| 87 | return &input, schema.GQLWrapf(err, "couldn't get input argument") |
| 88 | } |
| 89 | |
| 90 | func getDeleteNamespaceInput(m schema.Mutation) (*deleteNamespaceInput, error) { |
| 91 | inputArg := m.ArgValue(schema.InputArgName) |
no test coverage detected
searching dependent graphs…