-
Notifications
You must be signed in to change notification settings - Fork 41
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
Remove overblog/graphiql-bundle #206
Comments
We could also just split/remove the |
@aszenz IMHO it's nice for newbie but I would not advocate it that much. Me personally don't have access to create repos under |
@fogrye ,
Totally «for» this statement. A nice tooling is not something bundle should be really worry about. Moreover, overblog's bundle is not prod-required package so having it as a dep is actually a bad idea. |
As this issue takes more attention recently I encourage anyone to make a PR for it. Unfortunately I have too much on myself so I won't be able to contribute to it in next couple of weeks. |
To share my opinion on this: I'm not against removing it, specifically if it blocks some upgrade. But I know this is a valuable tool for devlopment and having it integrated certainly improves the developer experience. If we remove it, there should be an easy / documented way to have such tool, I know Postman or similar applications provides this so maybe we can just redirect the users to those tools. |
My opinion is that it's better to remove the dependency on the bundle. Anyone who needs it will be able to configure it themselves or use another documentation tool of their choice. Moreover, the native ability to override the endpoint to which the overblog bundle sends requests is currently blocked, and it's necessary to write a separate CompilerPass just for this. |
I have created wiki page, I believe it is enough to remove the dependency. |
Thank you! The wiki is probably not that easy to discover, but I would expect people using GraphQL to search for such kind of frontend (GraphiQL, Postman, hoppscotch, etc...) |
I tried this extension and realized that it is not convenient and slows down the computer a lot.
|
@dyonis Do you suggest we add this script in the bundle in place of overblog/graphiql-bundle? I think we can even go with just https://github.com/graphql/graphiql/blob/main/examples/graphiql-cdn/index.html |
yes, why not? |
Hello @homersimpsons and @fogrye. If the purpose of the current PR was to allow |
Support for Please reopen this issue if you think this is not enough and we should make this a "soft" dependency (or drop it at all). |
This package struggles hard with migration to Symfony v7 plus version of
graphiql
it brings is old by default and we don't have any info in docs how to update that. I would copy approach of how ApiPlatform does this thing with using 1 route, twig and minified js with latest version ofgraphiql
. I would deliver this with #203 because now, at least in my case,overblog/graphiql-bundle
is main blocker of migration to Symfony v7.The text was updated successfully, but these errors were encountered: