nhibernate-core icon indicating copy to clipboard operation
nhibernate-core copied to clipboard

TODO: For sets in dynamic component, grab the element type from the class attribute in the mappings.

Open sahin52 opened this issue 9 months ago • 0 comments

Hello, There is a TODO in src\NHibernate\Mapping\Set.cs, which indicates that dynamic components is not generic at the moment. Can we fix this?

				// If this set is part of a dynamic component, IsGeneric will be false, in
				// which case we default to typing as object.
				// TODO: For sets in dynamic component, grab the element type from the class attribute in the mappings.

I am having to use HashSet for dynamic types to prevent that problem

sahin52 avatar Feb 28 '25 15:02 sahin52