Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sahin52 opened this issue Feb 28, 2025 · 0 comments

Comments

@sahin52
Copy link

sahin52 commented Feb 28, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant