strawberry-graphql / strawberry

A GraphQL library for Python that leverages type annotations 🍓
https://strawberry.rocks
MIT License
4.01k stars 531 forks source link

Feature request: Django debug toolbar integration #1375

Closed holtergram closed 2 years ago

holtergram commented 3 years ago

Hey Strawberrians,

it'd be great to have some kind of toolbar to inspect and benchmark queries and mutations like with the Django debug toolbar. Unfortunately I cannot get it to work with GraphiQL.

Apparently there is a port for Graphene available. Maybe this can be a starting point?

Since I'm not using any dataloaders as of now I'm pretty suree I'm already hammering my DB (N+1 problem) so any tool that'd help me to nail down weaknesses would be very appreciated.

Thanks! 🍓

Upvote & Fund

Fund with Polar

bellini666 commented 2 years ago

Hey, just a quick heads up. I created the integration in this lib: https://github.com/blb-ventures/strawberry-django-plus

edit: pasted the wrong link