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

📎 add support for graphql-tag formatting #430

Closed
wmboult94 opened this issue Sep 27, 2023 · 4 comments
Closed

📎 add support for graphql-tag formatting #430

wmboult94 opened this issue Sep 27, 2023 · 4 comments

Comments

@wmboult94
Copy link

wmboult94 commented Sep 27, 2023

Description

We just started using biome over prettier/eslint, and loving it overall! This is the first thing we've found we miss from prettier as we use gql template expressions across our project.

The request: just as prettier does, it would be very useful to be able to format graphql-tag's gql tagged template expressions.

Eg:

gql`
  query GetSomething {
    getSomething {
      foo
    }
  }
`;
@ematipico
Copy link
Member

We don't support GraphQL, and it's not in our roadmap yet.

You can upvote #297 in the meantime. If it reaches enough votes we will consider it

@ematipico ematipico closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2023
@wmboult94
Copy link
Author

Thanks for the response, have upvoted that issue!

@BramKaashoek
Copy link

BramKaashoek commented Oct 17, 2024

@ematipico I believe this issue should be reopened, as GraphQL is now supported but graphl-tag is not yet.

@ematipico
Copy link
Member

Even though GraphQL is supported, Biome formatter doesn't support embedded formatting yet. Check #3334

Also, we open tasks (issues that start with 📎 ) when it's planned and have the resources to do it.

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

3 participants