rpgkaiser / FoolProof.Core

Migration to asp.net core of the "MVC Foolproof Validation" library.
MIT License
53 stars 17 forks source link

foolproof.core validation to compare inital date and return date #4

Closed BlenSeyoum closed 4 years ago

BlenSeyoum commented 4 years ago

I was using GreaterThan on model data notation after installing foolproof.core but when I insert a datetime on returndate which is less than initial date error message doesn't get displayed .Do I have to use service configuration or what is the problem .I couldn't get full documentation on how to use foolproof on asp.net core mvc application.

rpgkaiser commented 4 years ago

Hi @BlenSeyoum, The usage of the validators in your data model classes should be pretty much the same as with FoolProof in .net framework; that's why i don't included any doc bout it and only left a link to the FoolProof doc. I can't be sure without looking into the code, but you could have problem in the config in your Startup class. Do you know if others validators are working properly?

rpgkaiser commented 4 years ago

Hi,

Please, update the NuGet package and try again. I released a new version yesterday, changing the targeting and other minor improvements, including some references cleanup.

Thanks.

rpgkaiser commented 4 years ago

Hi, Were you able to verify that the issue was resolved?