Skip to content

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

@sahin52

Description

@sahin52

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions