graphene-subscriptions
graphene-subscriptions copied to clipboard
Dataloaders in a subscription payload
I have a set of dataloaders described here https://docs.graphene-python.org/en/latest/execution/dataloader/.
When I subscribe to objectType without dataloaders fields, everything works fine.
When I subscribe to objectType with dataloaders field, I got an TypeError: Object of type Promise is not JSON serializable
here
How can i solve this issue?
I have an open PR to address this: https://github.com/jaydenwindle/graphene-subscriptions/pull/26