Custom sorting logic on specific fields #5012
Unanswered
stephanejbx
asked this question in
Q&A
Replies: 1 comment
-
I ended up - I think - achieving it like this, based on this discussion
I'm not sure it's all correct actually, wouldn't mind some feedback. I also would really like to know if someone had this kind of issue sorted by applying a rule on a single property instead of having to register a convention on the whole API. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Is there a way to define a custom sorting logic for a field, while keep the implicit logic for all the other props?
My use case is:
I have a class with
I already have a custom type like so
The query result looks great and does what I want, however, what I want would be to sort on A when querying the sorting on B.
Ideas welcomed! Thanks
Beta Was this translation helpful? Give feedback.
All reactions