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

Add convenience with_error function to ValidationErrors struct #368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

3lpsy
Copy link

@3lpsy 3lpsy commented Feb 8, 2025

This PR simply adds a convenience method so you can chain when adding errors to ValidationErrors. It just calls add and returns self.

@3lpsy 3lpsy changed the title Add convenience with_error ValidationErrors Add convenience with_error function ValidationErrors Feb 8, 2025
@3lpsy 3lpsy changed the title Add convenience with_error function ValidationErrors Add convenience with_error function to ValidationErrors struct Feb 8, 2025
@3lpsy 3lpsy requested a review from Keats February 10, 2025 04:07
@3lpsy
Copy link
Author

3lpsy commented Feb 10, 2025

Sorry @Keats, I accidentally requested a re-review. There's no changes so one is not needed. Is there anything else I need to do get merged? Thanks!

@Keats
Copy link
Owner

Keats commented Feb 12, 2025

Nothing, i'll merge it when I make a new release

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