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

Allow @show, @hide, and @feature directives to be used on types, arguments and input types #2638

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

pyrou
Copy link
Collaborator

@pyrou pyrou commented Dec 3, 2024

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Directives @show, @hide and @feature can now be used on types, arguments and input types.
Allow FeatureDirective class to be extended in user-land.

Breaking changes

None.

@pyrou pyrou requested a review from spawnia December 3, 2024 08:31
@pyrou pyrou marked this pull request as ready for review December 3, 2024 08:31
@spawnia spawnia changed the title Extend @feature directive to arguments, types and input fields Allow @show, @hide, and @feature directives to be used on types, arguments and input types Dec 4, 2024
@spawnia spawnia added the enhancement A feature or improvement label Dec 4, 2024
@spawnia spawnia merged commit 104d2a2 into master Dec 4, 2024
43 checks passed
@spawnia spawnia deleted the extend-feature-directive branch December 4, 2024 11:28
@spawnia
Copy link
Collaborator

spawnia commented Dec 4, 2024

Thank you, released with https://github.com/nuwave/lighthouse/releases/tag/v6.46.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants