strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
MIT License
396 stars 115 forks source link

DataLoading #180

Open rishindoshi opened 1 year ago

rishindoshi commented 1 year ago

Has anyone gotten data loading to successfully work with Django & Strawberry? I can't seem to find any decent examples of it :/

Upvote & Fund

Fund with Polar

bellini666 commented 1 year ago

Hi @rishindoshi ,

Dataloading works fine using the strawberry's documentation. What are the issues you are facing with it?

rishindoshi commented 1 year ago

seemed like django wasn't playing well with promises but this package helped me out a ton: https://github.com/jkimbo/graphql-sync-dataloaders

bellini666 commented 12 months ago

It would probably be nice to add this to our documentation, to help people using sync django :)