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 support for nullable struct components #3554

Merged
merged 5 commits into from
Jun 6, 2024
Merged

Conversation

hazzik
Copy link
Member

@hazzik hazzik commented May 29, 2024

Fixes #854

@hazzik hazzik added the t: Fix label May 29, 2024
@@ -402,30 +386,27 @@ private void BindCollectionProperty(ICollectionPropertiesMapping collectionMappi
property.Cascade = collectionMapping.Cascade ?? mappings.DefaultCascade;
}

private Property CreateProperty(IEntityPropertyMapping propertyMapping, string propertyOwnerClassName, IValue value, IDictionary<string, MetaAttribute> inheritedMetas)
Copy link
Member Author

Choose a reason for hiding this comment

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

In all cases the caller was passing className as propertyOwnerClassName argument.

@fredericDelaporte fredericDelaporte added this to the 5.6 milestone Jun 6, 2024
@hazzik hazzik merged commit 3a651d0 into nhibernate:master Jun 6, 2024
23 checks passed
@hazzik hazzik deleted the gh-854 branch June 6, 2024 23:40
@hazzik hazzik added the r: Fixed label Jun 6, 2024
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.

NH-1284 - Initialization of nullable structs component
2 participants