GraphQL, gql template literals, and including fragments #2640
Labels
lang:graphql
Issues affecting GraphQL
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:enhancement
A potential new feature to be added, or an improvement to how we print something
Currently I am writing my graphql in a *.js file, where the query is referencing the fragment from a JavaScript variable that contains the fragment gql. However prettier doesn't recognise the ${} stuff and isn't reformatting the code.
Its entirely possible I'm not doing this in the recommended way (e.g. not using *.graphql files). Updates to existing documentation to put people on the right path would be appreciated.
The text was updated successfully, but these errors were encountered: