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

fix: adds error message for empty SDL #726

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Aug 12, 2021

fixes #724

before:

$ rover subgraph publish my-graph --routing-url https://example.com --schema reviews.graphql --name reviews --convert
Publishing SDL to my-graph@current (subgraph: reviews) using credentials from the default profile.
error: Partial schema input must have at least one of "sdl" or "hash"

after:

$ rover subgraph publish my-graph --routing-url https://example.com --schema reviews.graphql --name reviews --convert
Publishing SDL to my-graph@current (subgraph: reviews) using credentials from the default profile.
error: The provided SDL cannot be an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error "schema input must have at least one of “sdl” or “hash”" when publishing
1 participant