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

Integrate with FluentValidation #200

Closed
hamedarab opened this issue Jan 31, 2024 · 1 comment
Closed

Integrate with FluentValidation #200

hamedarab opened this issue Jan 31, 2024 · 1 comment

Comments

@hamedarab
Copy link

I think it would be good if you

make cast operator from FluentValidation.Results.ValidationResult to Result as well as FluentValidation.Results.ValidationFailure to Error type

@hamedarab hamedarab changed the title Integrate with FluentValidation and MediatR pipeline Integrate with FluentValidation Jan 31, 2024
@altmann
Copy link
Owner

altmann commented Jun 19, 2024

Hi, thank you for your feedback. I already thought about that one or two years ago. I want to keep FluentResults dependency-free - that means, FluentResults has no dependencies to other frameworks. Why? Because many projects don't use FluentResults in combination with FluentValidation and so I don't want to deliver FluentValidation automatically with FluentResults.

I hope you understand this. The solution would be that I create another extensions package for example FluentResults.Extensions.FluentValidation but that means effort which I can't deliver now.

@altmann altmann closed this as completed Jun 19, 2024
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

No branches or pull requests

2 participants