Hello, everyone!
I've run into the problem with NHibernate proxy validation using Castle.Validator component. It's looks like validator could not fetch attributes from entity proxy's properties.
I've tried to define validation attributes using Inherited = true while Castle.Validator runner fetch em using following statement:
property.GetCustomAttributes(typeof(IValidatorBuilder), true);
So it should fetch attributes form my entities while they are technically base classes for object under validation (proxy)? Why does it not working? GetCustomAttribute always return empty array.