blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

Multiple roots generated for limit mapping with intermediate association

Open beikov opened this issue 2 years ago • 2 comments

In an entity view mapping like e.g.

@Mapping("page.pageRevisions")
@Limit(limit = "1", order = ["id DESC"])
PageRevisionGraphQlView getLastRevision();

we seem to generate an additional root join node, so paginating fails.

beikov avatar Oct 05 '23 14:10 beikov

@beikov should i have somewhat tested this? Not sure which cause we have been working on here

EugenMayer avatar Dec 11 '23 13:12 EugenMayer

Don't worry about this. I think I have a test for this, but did not find the time yet to fix this as it is rather complex.

beikov avatar Dec 11 '23 14:12 beikov