You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-2349 - Fix NullPointerException when using known entities inside projections.
When a known entity is discovered in the PropertyFilterSupport, it can be used directly as the property type than is equal to a domain type (a well known entity).
Prior to that change, the discovered well known entity was used and it was asked for the the type of the property of the containing class again, which is wrong in most cases that don't have a property of the fitting type _and_ the same name again.
In addition, one other bug has been fixed: The `Neo4jTemplate` did not pass result type and domain type in the `saveAs` method to the `PropertyFilterSupport`, but only the result type, leading to the original fix to blow up.
Having fixed that bug, it became appearent that in the `PropertyFilterSupport` the overloads of `addPropertiesFrom` different order of `domainType` and `returnType`which then has been fixed as well.
This closes#2349.
0 commit comments