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
A bit related to #264 (@bsbodden thx for the fix, tested the changes and both #264 and #265 seem to work)
Not sure if this is a bug or feature request. But instead of returning/mapping every property within a list or nested property, I would like to return the complete list/nested object.
this would then correspond with calling Redis from cli by:
Some (not functioning tests to demonstrate the idea):
@Test
void testMapEntityStreamsReturnCompleteNestedList() {
var results = entityStream.of(DeepList.class)
.filter(DeepList$.NEST_LEVELS.NAME.eq("nl-2-2"))
.map(DeepList$.NEST_LEVELS) // would like to map complete list of objects instead of each property withing nested list object
.collect(Collectors.toList());
// expecting results.get(0) being instance of List<NestLevel2>
}
@Test
void testMapEntityStreamsReturnCompleteNestedObject() {
var results = entityStream.of(DeepNest.class)
.filter(DeepNest$.NEST_LEVEL1_NEST_LEVEL2_NAME.eq("nl-2-2"))
.map(DeepNest$.NEST_LEVEL1) // would like to map complete object instead of each property seperately
.collect(Collectors.toList());
// expecting results.get(0) being instance of NestLevel1
}
The text was updated successfully, but these errors were encountered:
A bit related to #264 (@bsbodden thx for the fix, tested the changes and both #264 and #265 seem to work)
Not sure if this is a bug or feature request. But instead of returning/mapping every property within a list or nested property, I would like to return the complete list/nested object.
this would then correspond with calling Redis from cli by:
instead of:
Some (not functioning tests to demonstrate the idea):
The text was updated successfully, but these errors were encountered: