After spending some more time switching another project onto Netable for all the GraphQL requests, I've found a couple improvements that could be made in the existing code
Remove the need for GraphQLMutation and GraphQLQuery - turns out we don't really need most of the reasons I split it off in the first place, so I've just merged them back into GraphQLRequest
Clean up and fix up parameter encoding a little
Add a default for query parameter inputs to make them pseudo-optional for queries.
After spending some more time switching another project onto Netable for all the GraphQL requests, I've found a couple improvements that could be made in the existing code
GraphQLMutation
andGraphQLQuery
- turns out we don't really need most of the reasons I split it off in the first place, so I've just merged them back intoGraphQLRequest