Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add params overload for Invalid factory method #152

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

danihengeveld
Copy link
Contributor

Added an overload for the Invalid factory method of Result and Result<T> that accepts params ValidationError[]
Also adds 2 QOL constructors to the ValidationError class.

Closes #149

@KyleMcMaster KyleMcMaster self-requested a review October 16, 2023 12:54
@ardalis ardalis merged commit 52f6aeb into ardalis:main Oct 18, 2023
@danihengeveld danihengeveld deleted the 149-validationerror-params-ctor branch October 20, 2023 21:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constructor with parameters for ValidationError and ValidationError.Create
2 participants