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

graphql accepts arbitrary commands without throwing #1729

Open
hediet opened this issue Feb 12, 2021 · 1 comment
Open

graphql accepts arbitrary commands without throwing #1729

hediet opened this issue Feb 12, 2021 · 1 comment

Comments

@hediet
Copy link

hediet commented Feb 12, 2021

Describe the bug
yarn graphql foobar runs through and does not indicate an error, even though foobar does not exist.

To Reproduce
Steps to reproduce the behavior:

  1. Install graphql 4.1.0
  2. Run yarn graphql foobar

Expected behavior
The tool should output an error that the command foobar does not exist.

Screenshots

image

Versions (please complete the following information):

  • OS: Windows 10
  • graphql-cli: 4.1.0
@melMass
Copy link

melMass commented Aug 28, 2022

@Urigo Is there a practical reasoning behind that design decision?

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

2 participants