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

Validation support #24

Open
AlexandruRus23 opened this issue Sep 22, 2021 · 2 comments
Open

Validation support #24

AlexandruRus23 opened this issue Sep 22, 2021 · 2 comments

Comments

@AlexandruRus23
Copy link

Hello.

I've just seen this project so there might already be something in place, but is there a way to define custom validation to enforce business rules on creating and editing entities? An integration with FluentValidation would be a nice.

@edandersen
Copy link
Owner

Standard validation is used here, so IValidatableObject can be used on the entities for custom rules.
https://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/custom-validation-with-ivalidatableobject-in-mvc/

@ManashDholey
Copy link

Hello,
I want contribute on this issue. I read about IValidatableObject. I understand that we need to add customs validation using IValidatableObject object. Can you please explain elaborately what type of validation we need to add. So that I can start working on it.

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

3 participants