You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should allow users to choose between GraphiQL and other interfaces (like the Apollo Explorer).
This might not be too difficult to implement now that we have a base view, but maybe we need some tweaks for Django, or we should at least consider to (keep) support(ing) overriding the playground using templates (I think this works now, right @bellini666?)
The only thing I'm not sure about this, is if we set this option on the schema, or on the views. The views currently also have the ability to enable/disable GraphiQL, so maybe it should live there.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Yes, the django view will try to load it from a template, and then fallback to strawberry's one if no one is defined. Users can define their own by creating a templates/graphql/graphiql.html file in their apps
@patrick91 I think that is fine. I assume that not a lot of people do override default templates in django, as that is an "advanced operation". Those that do will probably know which one they should override, specially considering the intersection of people that will both "use another interface" and also "override it" =P
I think we should allow users to choose between GraphiQL and other interfaces (like the Apollo Explorer).
This might not be too difficult to implement now that we have a base view, but maybe we need some tweaks for Django, or we should at least consider to (keep) support(ing) overriding the playground using templates (I think this works now, right @bellini666?)
The only thing I'm not sure about this, is if we set this option on the schema, or on the views. The views currently also have the ability to enable/disable GraphiQL, so maybe it should live there.
Upvote & Fund
The text was updated successfully, but these errors were encountered: