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

The Prettier problem #91

Closed
3 tasks done
xamir82 opened this issue Feb 29, 2024 · 2 comments
Closed
3 tasks done

The Prettier problem #91

xamir82 opened this issue Feb 29, 2024 · 2 comments

Comments

@xamir82
Copy link

xamir82 commented Feb 29, 2024

Describe the bug

When using the graphql function and passing a fragment array as the second argument, Prettier (the ubiquitous code formatter) stacks the two arguments on top of each other, which in turns causes syntax highlighting to be lost:

Rec.0037.mp4

Is there any solution to this problem? And can it be fixed upstream by gql.tada?

Reproduction

No response

gql.tada version

1.2.1

Validations

  • I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
  • Read the docs.
  • Follow our Code of Conduct
@JoviDeCroock
Copy link
Member

in progress yes graphql/graphiql#3518

@xamir82
Copy link
Author

xamir82 commented Feb 29, 2024

@JoviDeCroock Ah, nice. Thank you.

@xamir82 xamir82 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
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

No branches or pull requests

2 participants