Skip to content
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

Allow using ICompositeUserType for collection element mappings in Mapping By Code #1821

Closed
martin-the-geek opened this issue Aug 8, 2018 · 1 comment

Comments

@martin-the-geek
Copy link
Contributor

martin-the-geek commented Aug 8, 2018

Attempting to map a collection of a composite user-type with mapping by code is currently rejected with an exception "Expected type implementing IUserType or IType."

The composite user type is allowed when mapping by xml.

It should be allowed with mapping by code too.

@fredericDelaporte
Copy link
Member

Also done for map-key and key-property, see #1896.

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

No branches or pull requests

2 participants