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

Schema Check fails w/ Error Code 2 - but only changes are type NOTICE #695

Closed
rockrep opened this issue Nov 13, 2018 · 1 comment
Closed

Comments

@rockrep
Copy link

rockrep commented Nov 13, 2018

package.json

"apollo": "2.0.15",
"apollo-engine": "1.1.2",
"apollo-link-context": "1.0.9",
"apollo-link-http": "1.5.5",
"apollo-server-cache-memcached": "0.2.0",
"apollo-server-caching": "0.2.0",
"apollo-server-express": "2.2.1",
yarn run v1.9.4
.../node_modules/.bin/apollo schema:check --key=$KEY --endpoint=http://localhost:7070/graphql
 ✔ Loading Apollo Project
 ✔ Checking service for changes


Change  Code         Description
──────  ───────────  ───────────────────────────────────────
NOTICE  ARG_ADDED    `Channel.fiveUp` arg `region` was added
NOTICE  FIELD_ADDED  `MapMarker.markerName` was added
NOTICE  TYPE_ADDED   `CacheControlScope` added


error Command failed with exit code 2.
@jbaxleyiii
Copy link
Contributor

@rockrep thanks for reporting this! I believe it should be fixed with #691 (which is out on npm now as latest!) Can you try that out?

I'm really curious at where the 2 exit code is coming from though. @trevor-scheer was this the same issue you were seeing?

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