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 support for --graph flag #1858

Merged
merged 13 commits into from
Mar 30, 2020
Merged

Add support for --graph flag #1858

merged 13 commits into from
Mar 30, 2020

Commits on Mar 28, 2020

  1. Add --graph flag to all commands

    This commit adds a --graph flag (alias -g) which can be set for all CLI
    commands. There is no handling in this commit.
    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    bd91d3a View commit details
    Browse the repository at this point in the history
  2. Set config.graph for use in commands to rely on

    Additionally, run prettier, do some minor clean-up and inlining of
    variables that are only used once
    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    2383741 View commit details
    Browse the repository at this point in the history
  3. Use getGraphIdFromConfig everywhere

    Also support servicee specifier in the service.name field
    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    acde9c8 View commit details
    Browse the repository at this point in the history
  4. Remove unused const

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    c115ccd View commit details
    Browse the repository at this point in the history
  5. Remove accidentally changed codegen file

    Prettier did this. I blame prettier.
    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    879bf52 View commit details
    Browse the repository at this point in the history
  6. Replace files that prettier modified

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    29b44fe View commit details
    Browse the repository at this point in the history
  7. Set config.graph appropriately

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    390f2b7 View commit details
    Browse the repository at this point in the history
  8. npm run client:codegen

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    e2c4869 View commit details
    Browse the repository at this point in the history
  9. Use config.graph everywhere

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    7f6f0c9 View commit details
    Browse the repository at this point in the history
  10. Remove config.name

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    6b76be9 View commit details
    Browse the repository at this point in the history
  11. Forbid mismatching tokens and graphs

    Also add a test to that effect
    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    d5e4961 View commit details
    Browse the repository at this point in the history
  12. Add check for using --graph key in service command

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    a5aa472 View commit details
    Browse the repository at this point in the history
  13. Add support for a schema provider from a --graph flag

    Adam Zionts committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    3991b7a View commit details
    Browse the repository at this point in the history