graphql-hive / graphql-hive/console

schema contracts: more detailed information on why composition failed (tag instead of inaccessible)

Open
#3,946 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

Due to the implementation of schema contracts (transforming `@tag` to `@inaccessible`), the composition errors will contain error messages such as "Failed to compose as X is `@inaccessible`". This is correct from the composition point of view. But for the end user, the information that the field is inaccessible due to not being tagged properly is more useful. As he never applied `@inaccessible` on it directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.