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

Display directives in schema and popup tooltips. #7911

Open
leniency opened this issue Jan 7, 2025 · 0 comments
Open

Display directives in schema and popup tooltips. #7911

leniency opened this issue Jan 7, 2025 · 0 comments

Comments

@leniency
Copy link
Contributor

leniency commented Jan 7, 2025

Product

Nitro

Is your feature request related to a problem?

Directives are discoverable in Nitro when viewing the SDL but not elsewhere. We use several custom directives for security checks and it would be nice to make the requirements more discoverable.

The solution you'd like

It would be very handy to make the directives, especially custom directives, more visible throughout. For example, these two locations would be quite useful:

  1. In the query editor when hovering an operation - list directives below the operation description.
    Image

  2. Under the schema reference - list the directives somewhere alongside the variables:
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant