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

Proposal: Add variants of validation.All and validation.Any that accept SchemaValidateDiagFunc #1071

Closed
gdavison opened this issue Sep 29, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@gdavison
Copy link
Contributor

gdavison commented Sep 29, 2022

Use-cases

There is currently no method to combine multiple SchemaValidateDiagFuncs without converting them to SchemaValidateFuncs and using validation.All or validation.Any.

Proposal

Create variants of validation.All and validation.Any, e.g. validation.AllDiag and validation.AnyDiag that accept SchemaValidateDiagFuncs instead of SchemaValidateFuncs .

@gdavison gdavison added the enhancement New feature or request label Sep 29, 2022
@ewbankkit
Copy link
Contributor

Similar: #780.

@gdavison gdavison closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2022
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants