-
Notifications
You must be signed in to change notification settings - Fork 132
AfterConvertCallback
breaks the element order
#777
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
AfterConvertCallback
breaks the element order
That's indeed a bug on our side as we use |
We now use concatMap on result Fluxes to retain the object order. Previously, we used flatMap on a flux that has led to changes in element ordering. Closes #777
Maybe just using |
|
I don't think so. In this specific case, it's not required to wait the previous inner complete before subscribe to the new one.
|
With a |
When we try to get a list of sorted entities, the order is lost if we use the
EntityCallback
.I can confirm that the order is well respected in the
AfterConvertCallback
(I put a breakpoint in theonAfterConvert
method and I can see each country sorted bycountryName
)However, as the
AfterConvertCallback
is making some reactive call, the order is lost at the end and the methodfindAllByOrderByCountryName
does not return an ordered flux anymore.If I remove the
EntityCallback
, the sorting is well respected.Entity country
Country repository using ReactiveSorting
The text was updated successfully, but these errors were encountered: