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

Validator rules to check if target supports federation or inheritance #1726

Merged
merged 8 commits into from
May 5, 2023

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented May 4, 2023

Fixes #1652.

This also updates the checkReactor rule in order to mitigate potential exception and avoid weird control flow (i.e. returning from a nested if).

@cmnrd cmnrd added enhancement Enhancement of existing feature validation labels May 4, 2023
@lhstrh lhstrh changed the title Added validator rules to check if target suppports federation or inheritance. Validator rules to check if target suppports federation or inheritance May 5, 2023
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for adding the tests also.

@cmnrd
Copy link
Collaborator Author

cmnrd commented May 5, 2023

Looks like my refactoring also revealed some other issues in the tests. This should be fixed now.

@cmnrd cmnrd enabled auto-merge May 5, 2023 13:41
@cmnrd cmnrd dismissed edwardalee’s stale review May 5, 2023 13:42

Was resolved

@cmnrd cmnrd merged commit 8d21268 into master May 5, 2023
@cmnrd cmnrd deleted the validate-extends branch June 8, 2023 07:43
@lhstrh lhstrh changed the title Validator rules to check if target suppports federation or inheritance Validator rules to check if target supports federation or inheritance Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature validation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Produce an error message if 'extends' is used in a target that does not support it
3 participants