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

ValidatorChain should only validate #26

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nilmerg
Copy link
Member

@nilmerg nilmerg commented Mar 13, 2023

  • The name ValidatedResult isn't set in stone
  • The entire change isn't war-deciding, if we don't want to hush this, we don't need to

A chain can't be valid IMHO, a value can and that's
what's passed anyway. So let's call it `validate`.

Also allows it to return a different result and
might solve the *message* problem in the future
even more nicely.
@nilmerg nilmerg requested a review from lippserd March 13, 2023 17:07
@nilmerg nilmerg self-assigned this Mar 13, 2023
@cla-bot cla-bot bot added the cla/signed label Mar 13, 2023
nilmerg added a commit to Icinga/ipl-html that referenced this pull request Mar 13, 2023
@nilmerg nilmerg marked this pull request as draft March 15, 2023 11:38
@nilmerg nilmerg removed the request for review from lippserd March 15, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant