Add support for debugging SQL queries in GraphiQL under ASGI / Channels server (GraphQLHTTPConsumer)
Django-Debug-Tool (DDT) works great when serving GraphiQL via the Django ASGI app strawberry-graphql/strawberry-django#138 , but does not seem to work when serving via the Strawberry Channels' GraphQLHTTPConsumer. Is there a known method to at least show the DB queries?
The option of serving both (GraphQLHTTPConsumer and AsyncGraphQLView) is complicated as they structure the context variable differently (info.context.request.scope["user"]
vs info.context.request.user
) and also have different middleware active.
In Graphene for example, it was possible to use a "meta" field to query this data.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too