Skip to content

Add narrowing validators #26

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

Merged
merged 5 commits into from
Oct 9, 2023
Merged

Add narrowing validators #26

merged 5 commits into from
Oct 9, 2023

Conversation

JanTvrdik
Copy link
Member

Allows validators to refine the input type. This is essential for supporting integer boundary types that have been broken since dbac53c

@JanTvrdik JanTvrdik changed the base branch from master to fix-phpstan-rules-update October 9, 2023 07:13
@janedbal
Copy link
Member

janedbal commented Oct 9, 2023

RefiningValidatorCompiler -> NarrowingValidatorCompiler

Adjust also MR title.

@JanTvrdik JanTvrdik force-pushed the fix-phpstan-rules-update branch from 2f0fd06 to d6673af Compare October 9, 2023 12:51
Base automatically changed from fix-phpstan-rules-update to master October 9, 2023 12:52
@JanTvrdik JanTvrdik changed the title Add refined validators Add narrowing validators Oct 9, 2023
@JanTvrdik JanTvrdik force-pushed the jt-refined-validators branch from 9b75b5f to f8c466f Compare October 9, 2023 13:04
@JanTvrdik JanTvrdik merged commit 28185f0 into master Oct 9, 2023
@JanTvrdik JanTvrdik deleted the jt-refined-validators branch October 9, 2023 13:08
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