-
Notifications
You must be signed in to change notification settings - Fork 469
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
Create --variant flag, deprecate --tag flag #1849
Commits on Mar 25, 2020
-
Make newlines (optional commit)
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for fdb552f - Browse repository at this point
Copy the full SHA fdb552fView commit details -
Change references of Apollo Engine in flags
These default flags were still referencing Apollo Engine instead of Graph Manager (even though some were hidden). Additionally, this updates the docs to be more accurate. Happy to take this commit into another PR if you'd like!
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for df140d8 - Browse repository at this point
Copy the full SHA df140d8View commit details -
Support variant flag in service:list command
This change supports the variant flag (with character -v) in addition to the "tag" flag, which allows us to start using the new terminology. The '--tag' flag is still supported, and there is verification that the two sibling flags cannot be used together.
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 33d6f71 - Browse repository at this point
Copy the full SHA 33d6f71View commit details -
Give deprecation warning to --tag users
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 74bd14a - Browse repository at this point
Copy the full SHA 74bd14aView commit details -
Rename errors util to sharedMessages
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 271982a - Browse repository at this point
Copy the full SHA 271982aView commit details -
Move tag flag deprecation warning to sharedMessages
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 4549acf - Browse repository at this point
Copy the full SHA 4549acfView commit details -
Support the variant flag in service:check
Also remove an unused variable in service:list
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 373d364 - Browse repository at this point
Copy the full SHA 373d364View commit details -
Update service:delete to use variant flag
Also update description of the flags
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 9658ff5 - Browse repository at this point
Copy the full SHA 9658ff5View commit details -
Add support to service:download to use --variant
Also simplify an import in apollo-language-server Also add a XXX comment to service:download to illustrate a problem
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for ed9bd15 - Browse repository at this point
Copy the full SHA ed9bd15View commit details -
Change magical config tag to use variant
Additionally, this updates the text output in the service:check command to consistently use graph@variant everywhere
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 5a67bbb - Browse repository at this point
Copy the full SHA 5a67bbbView commit details -
Rename magical config.tag to config.variant
This is a find and replace all, and I verified every command still works after this (both with --tag and --variant). Will post screenshots of how everything looks in the PR :)
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for a2fa163 - Browse repository at this point
Copy the full SHA a2fa163View commit details -
A previous commit added `@variant` everywhere, and these snapshot updates should be ONLY that.
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for fe93251 - Browse repository at this point
Copy the full SHA fe93251View commit details -
Put all handling into the magical config.variant
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 598f2ae - Browse repository at this point
Copy the full SHA 598f2aeView commit details -
Replace all flags.tag references to config.variant
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 272434a - Browse repository at this point
Copy the full SHA 272434aView commit details -
Add variant to the client: commands
All of the client commands share common flags, so no further changes are required. Also, all of them use config.variant, so yay! :)
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 3813df4 - Browse repository at this point
Copy the full SHA 3813df4View commit details -
Warn about deprecation at magical config.variant
Remove the deprecation warning from specific callsites and rely on the deprecation warning appearing when the config.variant value is set
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 9524e26 - Browse repository at this point
Copy the full SHA 9524e26View commit details -
Support for service:push variant
Also, this changes the default value of the flag, but it does NOT change the behaviour, since `config.variant` always defaults to "current" if flags and configuration are not set. The reason this was done is because flags.tag will be non-null if there is a default, which causes the deprecation message to always print
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 5d09944 - Browse repository at this point
Copy the full SHA 5d09944View commit details -
Changes word "tag" in some user-facing messages
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 606e18b - Browse repository at this point
Copy the full SHA 606e18bView commit details -
Mainly renaming service to graph and "schema" to service, which felt a little meh, but more in line with the name of the command
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 5f44ed1 - Browse repository at this point
Copy the full SHA 5f44ed1View commit details -
Adam Zionts committed
Mar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for c47a12b - Browse repository at this point
Copy the full SHA c47a12bView commit details -
Updates snapshots to match new messaging
This should only include changes to some minor message changes in service:check
Adam Zionts committedMar 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 85e49e9 - Browse repository at this point
Copy the full SHA 85e49e9View commit details