-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
elegantly prettify input object in graphiql #1516
Comments
Yea, Prettier can do that, so isn't that like about upgrading dependency? :) Not in your simplified case, it's still too short, but longer will work. |
hey thanks for reporting this! there have been many feature requests for these, so please chime in on one that is already open next time! because so my solution was to load it dynamically, which we are doing in the RFC here: so prettier configurations will be configurable in the language service, monaco mode and GraphiQL shortly, please help us review the in progress work! if you'd like to see this merged, please help review and advance the plugin API effort: #983! |
let's move discussion to this proposal: #1517 if y'all are interested and don't mind pulling down that PR and try it out locally, you can give some feedback. it's essentially the same as it works in codesandbox, slightly similar to vscode except you can't configure formatters, there is only one |
The prettify button puts the input objects in single line. It would be nice if it gets prettified in a prettified JSON structure.
Current prettification:
Expected prettification:
The text was updated successfully, but these errors were encountered: