-
Notifications
You must be signed in to change notification settings - Fork 617
Support for SpEL pointing to related entities in projection on first level. #2325
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
Thanks for reporting this. The usage of only in the entity defined relationships' properties in SpEL was indeed a missing constellation we did not cover. To get the version, please add following to your pom
|
Fixed with f23071b |
That works. Thanks @meistermeier |
Hi Team, i was trying out simple json response by mapping the nested DTO Projection values to the root Projection (node / object) by following this SDN doc
expected output:
{ "name": "Dhoni", "cityName": "qwerqwer", "stateName": "zxvcxzcvc" }
But, it throws the following error stating currentLocation is null as below: (but it has value)
For reference and brevity, i'm posting the stackoverflow link.
where the 1st and 2nd case is working. But, not the 3rd case.
Is there anyway we can achieve this? Or correct me if i'm wrong.
Thanks Team.
The text was updated successfully, but these errors were encountered: