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 serializablehere
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
hereHow can i solve this issue?