Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataloaders in a subscription payload #34

Open
Zagrebelin opened this issue Nov 12, 2020 · 1 comment
Open

Dataloaders in a subscription payload #34

Zagrebelin opened this issue Nov 12, 2020 · 1 comment

Comments

@Zagrebelin
Copy link

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?

@millar
Copy link

millar commented Nov 12, 2020

I have an open PR to address this: #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants