-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose custom scalars configuration from CLI. (#2745)
Summary: Closes #2162. In preparation of #2518, as requested by josephsavona we should have CLI versions of each possible argument, hereby CLI support for custom scalars. I ended up going with the dot-notation syntax of yargs, which seems a little foreign (to me), but it comes builtin with yargs. Let me know what you think. E.g. ``` $ relay-compiler --customScalars.URL=String --customScalars.Date=String ``` Pull Request resolved: #2745 Reviewed By: kassens Differential Revision: D15724870 Pulled By: jstejada fbshipit-source-id: 62d7a8766064c9355dad07ae7a94251fa4d047b6
- Loading branch information
1 parent
360bc2c
commit 553e331
Showing
4 changed files
with
167 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.