Closed cbowdon closed 5 years ago
Previous behaviour produced requests like:
{"variables": "{\"id\": 42}", "query": ...}
i.e. variables was stringified JSON within the JSON object. This isn't supported by all GraphQL server implementations, so this change produces the structure:
{"variables": {"id": 42}, "query": ...}
which is more widely supported.
Thanks
Previous behaviour produced requests like:
{"variables": "{\"id\": 42}", "query": ...}
i.e. variables was stringified JSON within the JSON object. This isn't supported by all GraphQL server implementations, so this change produces the structure:
{"variables": {"id": 42}, "query": ...}
which is more widely supported.