Apollo-tooling: service:check should support --localSchemaFile

Created on 16 Nov 2018  路  5Comments  路  Source: apollographql/apollo-tooling

A user should be able to validate their current schema against Engine with an introspection result or SDL

feature

Most helpful comment

Yea I just ran into the same roadblock, sadly our CI environment makes it kinda difficult to self host the schema at build time

All 5 comments

Self note - update Engine docs for this.

Yea I just ran into the same roadblock, sadly our CI environment makes it kinda difficult to self host the schema at build time

Any updates on this issue? It's bizarre that service:push support localSchemaFile but service:check doesn't 馃

Hey, sorry for the delay here. This is something we would like to get to, but currently have other priorities that require our attention. For the forseeable future, we won't be able to prioritize implementing this.

If anyone is interested in submitting a PR, I'd be happy to provide guidance and reviews!

Happy to take this up as a PR, will look into it next week.

Note, your docs https://www.apollographql.com/docs/platform/integrations.html#check-schema-on-ci imply this is possible already:

Note: Your apollo service:check command needs a source to from which to fetch your schema. This is most commonly provided as a URL to a running server (with introspection enabled), but can also be provided as a path to a file with your shcema in it. See other options here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

u-ashish picture u-ashish  路  4Comments

pietmichal picture pietmichal  路  4Comments

ethansinjin picture ethansinjin  路  3Comments

viridia picture viridia  路  3Comments

gordanhappy picture gordanhappy  路  3Comments