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

Operation extraction should not require a key #2486

Open
sMorm opened this issue Nov 23, 2021 · 0 comments
Open

Operation extraction should not require a key #2486

sMorm opened this issue Nov 23, 2021 · 0 comments

Comments

@sMorm
Copy link

sMorm commented Nov 23, 2021

Intended outcome:
A JSON manifest of the operations and its signatures is generated when running apollo client:extract on apollo/client.

Actual outcome:

CLIError: Error in "Loading schema for my-apollo-service": Error: No API key found. Please set APOLLO_KEY or use --key

How to reproduce the issue:
Running apollo client:extract in a repository with an apollo.config.js file configured with no APOLLO_KEY set.

Versions
@apollo/[email protected]

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

No branches or pull requests

1 participant