Valit icon indicating copy to clipboard operation
Valit copied to clipboard

Support for comparing two properties

Open paw3lx opened this issue 7 years ago • 8 comments

I think it could be nice to have ability to compare two properties of an object:

.Ensure(m => m.Password, _ => _.IsEqualTo(m => m.RePassword))

What do you think about it?

paw3lx avatar Nov 18 '17 16:11 paw3lx