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 variable definition directives in validation #5072

Merged

Conversation

adampetro
Copy link
Contributor

Allow variable definition directives in the DirectivesAreInValidLocations static validation rule.

This also adds a test, but it feels a bit odd that it only tests the variable definition case and no others. I could remove the test, or add cases to cover more of the possible valid locations.

@adampetro adampetro force-pushed the support-variable-definition-directives branch from 7c6f43d to ee4daa8 Compare August 20, 2024 14:54
@adampetro adampetro force-pushed the support-variable-definition-directives branch from ee4daa8 to 493416a Compare August 20, 2024 14:57
@rmosolgo rmosolgo added this to the 2.3.15 milestone Aug 23, 2024
@rmosolgo
Copy link
Owner

Thanks for this improvement!

@rmosolgo rmosolgo merged commit 8ec90a4 into rmosolgo:master Aug 23, 2024
14 of 15 checks passed
@adampetro adampetro deleted the support-variable-definition-directives branch August 23, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants