Replies: 1 comment 2 replies
-
There is an open PR geldata/gel-js#381 P.S: You might get faster responses in Discord |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some GraphQL libraries use a neat feature of js syntax called tagged template literals that enable embedding parsed queries into js. See:
https://pavsaund.com/post/2020-10-26-tagged-template-literals-how-the-gql-query-syntax-works/
https://github.com/apollographql/graphql-tag
With some preprocessing or other shenanigans you might even be able to emit types for them.
Have you considered something like this?
Beta Was this translation helpful? Give feedback.
All reactions