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

Fix property type retrieval for Composite User Type in LINQ #2877

Merged
merged 6 commits into from
Aug 9, 2021

Conversation

bahusoid
Copy link
Member

Fixes #2856
Regression from #2036 (most likely)

@bahusoid bahusoid changed the base branch from master to 5.3.x July 27, 2021 07:43
@bahusoid bahusoid changed the title Fix component type retrieval in LINQ Fix property type retrieval for Composite User Type in LINQ Jul 27, 2021
}
else
{
// Concatenate the component property path in order to be able to use EntityMetamodel.GetPropertyType to retrieve the type.
Copy link
Member Author

@bahusoid bahusoid Jul 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EntityMetamodel also can't handle ICompositeUserType components. So why bother to use it at all if we can retrieve all info from componentType

This comment was marked as resolved.

This comment was marked as resolved.

@bahusoid bahusoid added this to the 5.3.10 milestone Jul 28, 2021
@hazzik hazzik merged commit 6c0fd01 into nhibernate:5.3.x Aug 9, 2021
@hazzik hazzik added the r: Fixed label Aug 9, 2021
bahusoid added a commit to bahusoid/nhibernate-core that referenced this pull request Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distinct on Composite User Type property fails
3 participants