-
Notifications
You must be signed in to change notification settings - Fork 617
Projecting rich relation for inherited nodes fails #2526
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
Comments
…rited nodes fails)
neo4j is trying to map:
It expects the property The first part of the results property |
I would like to keep the logic for stepping down to a common relationship "source name" for Cypher creation and mapping in the place where it already happens. There is now a |
You branch does not work for my use-case. It is not determining the right base class. I need to dig deeper to find the cause. I'll keep you updated. |
@meistermeier please take a look at the extended test I've added via Andy2003@6ada466 this will work with my solution but not with your branch. |
Added the extended test and things are still working. |
You missed to setup the extended data:
with this data the test will fail |
Thanks, I have missed this one. It is now fixed in the branch. |
Perfect, all my tests are green with this solution! |
Thanks for your feedback. |
Given:
And the following data:
the following test will fail:
with this exception:
In case the
DataPoint
would not be a rich relation (by removing themanual
field) the test will succeed.Test-Case: https://github.com/Andy2003/spring-data-neo4j/tree/issue/gh-2526
Background:
I need to query
BaseNodeEntity
by not knowing the concrete node type. The projection will also contain fileds for some specializedBaseNodeEntity
s like thedataPoints
for allMeasurementMeta
-NodesThe text was updated successfully, but these errors were encountered: