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
It would be great to support nested level projections through interfaces. Given a closed projection with a nested class, we would be able to support nested fields.
The document / collection class:
@DocumentpublicclassPerson {
privateStringfirstName;
privateStringlastName;
privateAddressaddress;
staticclassAddress {
privateStringzipCode, city;
// getters and setters
}
// getters and setters
}
Dennis Nijssen opened DATAMONGO-1989 and commented
It would be great to support nested level projections through interfaces. Given a closed projection with a nested class, we would be able to support nested fields.
The document / collection class:
The closed projection interface:
Actual "fields" outcome right now:
Expected "fields" outcome:
Reference URL: https://stackoverflow.com/questions/50487231/spring-data-mongodb-interface-based-projection-recursively
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: