-
-
Notifications
You must be signed in to change notification settings - Fork 804
Sort by distance #1461
Copy link
Copy link
Closed
Labels
Area: SpatialIssue is related to spatial typesIssue is related to spatial types⌛ staleNothing happened with this issue in quite a whileNothing happened with this issue in quite a while🌶️ hot chocolate🙋 good first issueGood for newcomersGood for newcomers
Milestone
Metadata
Metadata
Assignees
Labels
Area: SpatialIssue is related to spatial typesIssue is related to spatial types⌛ staleNothing happened with this issue in quite a whileNothing happened with this issue in quite a while🌶️ hot chocolate🙋 good first issueGood for newcomersGood for newcomers
Is your feature request related to a problem? Please describe.
Entity Framework supports sorting by distance but HotChcolate currently does not have an option to pass an input to sort function.
Describe the solution you'd like
As proposed on Slack, sort should be extended with custom functions which can support complex inputs
Describe alternatives you've considered
A quick solution would be to add just add string support instead of SortOperationKind as shown here