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 --compiler option #283

Closed
wants to merge 7 commits into from
Closed

Add --compiler option #283

wants to merge 7 commits into from

Conversation

rjdellecese
Copy link

@rjdellecese rjdellecese commented Jan 19, 2020

Adds a new CLI flag, --compiler, that allows you to pass the path to the elm compiler that you'd like the elm-graphl executable to use when verifying custom scalar codecs (should it be used for more than just that?).

Full disclosure: I've never written any TypeScript and hardly ever write JavaScript.

Closes #276

I tested this manually by altering the command used in npm run gen:starwars and then running that. Is there a better (more automated) way?

This currently only does anything if the --scalar-codecs option is also provided. Is that ok? Should we let the user know?

@rjdellecese rjdellecese marked this pull request as ready for review January 20, 2020 20:35
@rjdellecese
Copy link
Author

Hey @dillonkearns! I'm sure you're very busy so I understand if you don't have time for this, but I just wanted to call out that this feature would still be very useful for myself and my team, should you have a little bit of time with which to review this PR :)

@rjdellecese rjdellecese deleted the add-compiler-option branch September 20, 2021 19:37
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

Successfully merging this pull request may close these issues.

Use of custom scalar codecs requires that elm executable be available in PATH
1 participant