-
Notifications
You must be signed in to change notification settings - Fork 470
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
Downloading scheme.json fails with specific command usage #844
Comments
Same issue here |
Same here |
same here |
FWIW my solution to this was to pass the
So instead of
what worked for me was changing the script to remove
|
Somewhat related, trying to push our schema from a remote server to Apollo Engine using the CLI: In my terminal, I've tried:
and every time the response I get is:
Is this API working for anybody out there? Any suggestions on what I may be doing wrong, and how to correct it? Or is this a bug? FWIW, I'm supplying my service name and endpoint in my apollo.config.js file. Ultimately, I would like to move my validation credentials there also, so in my terminal I can just use:
But there's no documentation on how to structure the apollo.config.js file for the header. This is what my apollo.config.js file looks like now:
At this point, ANY method for correctly supplying the header, either via the CLI in my terminal, or via my apollo.config.js would be nice. |
same issue here.. I am just trying to download github to schema.json
anyone with solution? |
@kateile Just put the output filename before the header flag. Oclif (the cli framework we build off of) has an issue with flag parsing when you allow multiple uses of the same flag. So for example, if you want to provide multiple headers, you can either do
the second usage is definitely a bug, but since that bug exists right now, the CLI accidentally mistakes your |
last suggestion worked for me :) |
Just ran into this today with the latest version of apollo cli |
@qswitcher likewise, just ran into this today |
Is it expected behavior to fail downloading
scheme.json
depending on the order of the options?The text was updated successfully, but these errors were encountered: