Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Support babel compiled AST. #74

Open
1 of 4 tasks
ellioseven opened this issue Mar 3, 2019 · 0 comments
Open
1 of 4 tasks

Support babel compiled AST. #74

ellioseven opened this issue Mar 3, 2019 · 0 comments

Comments

@ellioseven
Copy link

ellioseven commented Mar 3, 2019

I use babel-plugin-graphql-tag to compile my queries, this is used mainly so I can use aliases when importing GraphQL files. However this doesn't work with the build tool as it appears fragments are not being imported.

It would be helpful to be able to crawl precompiled AST JS so that crawling can be done on resolved documents (prevent having to bootstrap babel).

For instance, something like:

# Build persisted queries across babel compiled GraphQL.
persist-grapqhl ./lib/grapqhl --ast --extension=js
  • has-reproduction
  • feature
  • blocking
  • good first issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant