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

Integration with Django debug toolbar? #61

Open
johncarter-phntm opened this issue Nov 27, 2022 · 2 comments · May be fixed by #62
Open

Integration with Django debug toolbar? #61

johncarter-phntm opened this issue Nov 27, 2022 · 2 comments · May be fixed by #62

Comments

@johncarter-phntm
Copy link

Has anyone managed to get the graphql playground working with Django debug toolbar?

@johncarter-phntm
Copy link
Author

johncarter-phntm commented Dec 2, 2022

Changing this div to not be self-closing gets the Debug toolbar to show up (from jaydenwindle/django-graphql-playground#8 ), but currently the panels aren't updating based on request (eg the SQL panel isn't updating).

https://github.com/reset-button/ariadne_django/blob/8d6fb33ce652e31ed0b228221c5939b04972ff5e/ariadne_django/templates/ariadne_django/graphql_playground.html#L556

ie

<div id="root"></div>

@johncarter-phntm johncarter-phntm linked a pull request Dec 2, 2022 that will close this issue
@johncarter-phntm
Copy link
Author

The History panel shows requests, though that + #62 solves this for me.

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

Successfully merging a pull request may close this issue.

1 participant