Conversation
3 tasks
dimahc
force-pushed
the
82-enhancement-add-conditional-validators-to-requirenull-a-field-when-another-attribute-matches-a-condition
branch
from
July 10, 2026 11:02
d2f4471 to
26595c1
Compare
azrod
approved these changes
Jul 10, 2026
azrod
left a comment
Member
There was a problem hiding this comment.
OK mais il faut ajouter le changelog
…ches Implement a new set of conditional validators across multiple types (bool, float64, int32, int64, list, map, object, set, and string) that allow a field to be required as null when another attribute matches a specific condition. This includes internal logic and corresponding unit tests for each validator type.
Add entry to the changelog documenting the addition of new conditional validators that allow forcing attributes to null based on matching conditions.
dimahc
force-pushed
the
82-enhancement-add-conditional-validators-to-requirenull-a-field-when-another-attribute-matches-a-condition
branch
from
July 13, 2026 12:34
26595c1 to
e2ced19
Compare
dimahc
deleted the
82-enhancement-add-conditional-validators-to-requirenull-a-field-when-another-attribute-matches-a-condition
branch
July 13, 2026 12:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add validators that force an attribute to be null or required when another attribute matches a condition, plus length-based variants for collection validators.