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

Make gql_code_gen:ast_builder extension configurable #26

Open
micimize opened this issue Dec 17, 2019 · 3 comments
Open

Make gql_code_gen:ast_builder extension configurable #26

micimize opened this issue Dec 17, 2019 · 3 comments

Comments

@micimize
Copy link
Contributor

Would be good to expose an extension: '.gql' option

".graphql": [astExtension],

@klavs
Copy link
Contributor

klavs commented Dec 17, 2019

@micimize, I'm lacking in-depth knowledge about dart build process. I think I read that the extension is not configurable. I may be wrong. Do you have any reference to docs or any other project where a similar configuration is possible?

@micimize
Copy link
Contributor Author

hmm, actually you might be right. I guess in artemis they just
have a separate glob

final assetStream = buildStep.findAssets(Glob(schemaMap.queriesGlob));

@klavs
Copy link
Contributor

klavs commented Dec 17, 2019

I'm open to adding .gql as the other default extension.

agent3bood added a commit that referenced this issue Jan 21, 2022
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