graphql / graphql/graphiql

Automatically show description from interface

Open
#2,511 5 comments 1 reaction 0 assignees View on GitHub
@graphiql/react enhancement
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

When implementing an interface it would be nice to automatically see the description of that interface on the implementation.
This should only be shown if the implemented field does not have its own description.

This should be fairly simple when dealing with a single interface, the biggest problem is what to do when multiple interfaces has the same field with different descriptions. I would suggest as the first implementation of this to simply do nothing in that case or to take the first interface and use that.

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.