(v any, variables map[string]any)
| 45 | } |
| 46 | |
| 47 | func constructMutation(v any, variables map[string]any) string { |
| 48 | query := query(v) |
| 49 | if len(variables) > 0 { |
| 50 | return "mutation(" + queryArguments(variables) + ")" + query |
| 51 | } |
| 52 | return "mutation" + query |
| 53 | } |
| 54 | |
| 55 | // queryArguments constructs a minified arguments string for variables. |
| 56 | // |
no test coverage detected