Skip to content

feat: Add MatchAny positional args validator#2398

Open
walle250ai wants to merge 1 commit intospf13:mainfrom
walle250ai:feat/match-any-positional-args
Open

feat: Add MatchAny positional args validator#2398
walle250ai wants to merge 1 commit intospf13:mainfrom
walle250ai:feat/match-any-positional-args

Conversation

@walle250ai
Copy link
Copy Markdown

Adds MatchAny(pargs ...PositionalArgs) as the OR-semantics complement to the existing MatchAll. Returns nil if any validator passes; if all fail, returns a combined error listing each individual failure. Zero validators passed returns nil (vacuously true, consistent with MatchAll behaviour).

Adds MatchAny(pargs ...PositionalArgs) as the OR-semantics complement
to the existing MatchAll. Returns nil if any validator passes; if all
fail, returns a combined error listing each individual failure.
Zero validators passed returns nil (vacuously true, consistent with
MatchAll behaviour).
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Collaborator

@marckhouzam marckhouzam left a comment

Choose a reason for hiding this comment

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

Thanks. This seems reasonable

You need to sign the CLA before this can be merged. Please see the instructions in the comment above.

@marckhouzam marckhouzam added this to the 1.11.0 milestone Apr 29, 2026
@marckhouzam
Copy link
Copy Markdown
Collaborator

Ah, and the linter failed.

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.

3 participants