-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
How do I fill errors #158
Comments
Hi,
|
Since we should not serialize the object, I think you are saying to not use this as the return object for WebApi calls. Am I understanding this correctly? |
yes thats correct. Iam currently create a new package exactly for that scenario - details see #149 |
Thanks, I will look for it, but I have to create something now I think. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried a few things and don't see any difference for RootCause and I wonder how to fill in the errors instead of Reasons.
Here is my code:
And here is what I got as a result:
I am sure I missed something in the documentation.
Also, how have people converted the results of FluentValidation into your model so we only return 1 type of object back instead of several different kinds of error models.
The text was updated successfully, but these errors were encountered: