Closed
Description
I have a custom mapping type that transform a string (N or S) from database to a bool on the entity side.
This custom mapping type works fine in NH 5.2.x. After the migration to NH 5.3.x the custom mapping type works well except in one scenario: when the query check the inverse value of one variable, as show under:
var no = false;
Assert.IsTrue(_database.GetSession().Query<Entity1>().Where(x => x.IsChiusa == !no).Any());
I attach here a unit test to show the issue in action.
Thanks,
Pasquale.