DjangoChannelsGraphqlWs
DjangoChannelsGraphqlWs copied to clipboard
resolve Promises in response values before sending
If response data contains a Promise objects (say, Dataloaders were used), encoding to json these objects will silently fail.
It must be fixed inside graphql-core
library. Also, batching currently is not working while resolving subscription result. I opened PR to fix this problem https://github.com/graphql-python/graphql-core-legacy/pull/287
@DayS1eeper Is the issue in graphql-core or graphql-core-legacy? Which library is DjangoChannelsGraphqlWs using?