Jinq
Jinq copied to clipboard
Allow a where() after a sortedBy()
That's probably safe. Also, possibly allow a select() after a sortedBy(). And when something isn't allowed, create a better error message (possibly with a URL to the chart showing what's allowed).
Just encountered this myself. This has become a blocking issue for us as i need to first sort the JinqStream by entity name, then select id. I cannot select id and then sort by name. Would really appreciate it if this could be prioritized in the near future
I'll try to take a look at this sometime during the next week.
Ok, v1.8.28 is now in Maven Central, and it has support for doing where() and select() on streams that have been sorted. I won't bother updating the documentation though.
Thank you so much for a quick delivery, I have retrieved v1.8.28 and implemented sorting in our application. It works just as expected. Feel free to close this issue.