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

Refactor validation plugins #3741

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Viicos
Copy link
Contributor

@Viicos Viicos commented Jan 5, 2024

Cherry picked from #3701

@Viicos Viicos force-pushed the feature/refactor-validation-plugins branch 3 times, most recently from 6c65234 to 8d8d4b7 Compare January 8, 2024 09:19
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c069ce2) 96.14% compared to head (24096ce) 96.15%.

Files Patch % Lines
src/openforms/validations/base.py 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3741      +/-   ##
==========================================
+ Coverage   96.14%   96.15%   +0.01%     
==========================================
  Files         699      700       +1     
  Lines       22499    22506       +7     
  Branches     2602     2597       -5     
==========================================
+ Hits        21631    21641      +10     
+ Misses        596      595       -1     
+ Partials      272      270       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/openforms/contrib/kvk/validators.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/validators/formats.py Outdated Show resolved Hide resolved
@Viicos Viicos force-pushed the feature/refactor-validation-plugins branch from 1601206 to becb03f Compare January 9, 2024 13:00
src/openforms/contrib/kvk/validators.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/registry.py Outdated Show resolved Hide resolved
src/openforms/validations/validators/formats.py Outdated Show resolved Hide resolved
src/openforms/validations/validators/formats.py Outdated Show resolved Hide resolved
@Viicos Viicos force-pushed the feature/refactor-validation-plugins branch from f843ca2 to e04bfac Compare January 11, 2024 20:52
... to be up to date with the current OF standard.

We now only support class based validation plugins due to the
extra configuration that is needed and the ability to target
specific value types (string, dictionary, number...).
@sergei-maertens sergei-maertens force-pushed the feature/refactor-validation-plugins branch from e04bfac to 24096ce Compare January 12, 2024 11:44
@sergei-maertens sergei-maertens merged commit 01ba6bf into master Jan 12, 2024
26 checks passed
@sergei-maertens sergei-maertens deleted the feature/refactor-validation-plugins branch January 12, 2024 11:56
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