graphql-python / graphql-server

This is the core package for using GraphQL in a custom server easily
MIT License
120 stars 72 forks source link

Flask requires Asyncio support for Dataloaders #65

Open wakemaster39 opened 4 years ago

wakemaster39 commented 4 years ago

With the death of promises, https://github.com/syrusakbary/aiodataloader is the current only implementation of dataloaders that I can find. To use this in a synchronous framework like flask, you need to have async support. I agree the default needs for this to be off, but there needs to be a way to turn this on so that people can shoot themselves in the foot if they do it wrong.