Hi Sergio Ayala,
Thank you for bringing up this concern. Ensuring consistency between the class type and the TValue type is indeed crucial. We understand that the attempt to keep the class type as 'int' while binding the value as a nullable integer ('int?') can lead to unexpected issues.
If your aim is to establish a default value of null, We would like to propose the option of binding the value as 'int?' (nullable integer) inside the class. By doing so, you can effectively align the data types and appropriately set null as the default value for the binding.
Regards,
Priyanka K