Closed
Description
It would be useful to be able to specify a custom json_dumps
callable for the transport. Right now gql is hardcoded to use json.dumps
from the standard library, and that has performance issues as well as poor serialization. It is common to have to provide Enum or datetime objects in variables, for instance, and without the ability to specify a custom callable its necessary to pre-process values which is inefficient and annoying to implement.
Any appetite for such a capability in the future?