apollographql / apollographql/apollo-tooling

Improve error message for tag without published schema

Open
#759 6 comments 2 reactions 0 assignees View on GitHub
:hammer: cli
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

The error message mentions that a service is not found, when it exists. The issue here is that no schema has been published under the requested tag.

![image](https://user-images.githubusercontent.com/5565407/49193049-7b754f00-f332-11e8-9663-4c23fada2d5c.png)

Contributor guide

Open the contributing guide

Research direction

Search the CLI source for the error text and trace how a requested tag is checked against published schemas. Reproduce the missing-schema case and update the message so it distinguishes an existing service from a tag with no published schema.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.