DjangoChannelsGraphqlWs icon indicating copy to clipboard operation
DjangoChannelsGraphqlWs copied to clipboard

resolve Promises in response values before sending

Open Zagrebelin opened this issue 4 years ago • 2 comments

If response data contains a Promise objects (say, Dataloaders were used), encoding to json these objects will silently fail.

Zagrebelin avatar Nov 16 '20 00:11 Zagrebelin

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 avatar Oct 07 '21 08:10 DayS1eeper

@DayS1eeper Is the issue in graphql-core or graphql-core-legacy? Which library is DjangoChannelsGraphqlWs using?

justuswilhelm avatar Feb 16 '22 04:02 justuswilhelm