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

chore(ruleset): improve then validation #1144

Merged
merged 11 commits into from
May 14, 2020
Merged

Conversation

P0lip
Copy link
Contributor

@P0lip P0lip commented May 5, 2020

This is a complementary PR to #1136

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

Additional context

Enhances the ruleset validation to make sure all known then with a built-in function are validated according to the typings.
The benefit of that change is the lack of need for any types clobbering as well as any other custom validation (like we had to do in case of casing fn, for instance)

@P0lip P0lip added the chore label May 5, 2020
@P0lip P0lip requested a review from nulltoken May 5, 2020 13:58
@P0lip P0lip self-assigned this May 5, 2020
nulltoken
nulltoken previously approved these changes May 6, 2020
Copy link
Contributor

@nulltoken nulltoken left a comment

Choose a reason for hiding this comment

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

@P0lip Neat!

@P0lip P0lip force-pushed the fix/ruleset-function-validation branch from bd7bcf1 to 96c8842 Compare May 7, 2020 21:22
@P0lip
Copy link
Contributor Author

P0lip commented May 12, 2020

@nulltoken bump 🙂

@billiegoose billiegoose added this to the 2020-05-13 milestone May 13, 2020
@P0lip
Copy link
Contributor Author

P0lip commented May 14, 2020

Since there is only the doc change that hasn't been reviewed, I'll go ahead and merge it.
IF you have any concerns about it, LMK and I'll address it in another PR.

@P0lip P0lip merged commit a02842a into develop May 14, 2020
@P0lip P0lip deleted the fix/ruleset-function-validation branch May 14, 2020 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants