ash-project / ash

A declarative, extensible framework for building Elixir applications.
https://www.ash-hq.org
MIT License
1.64k stars 221 forks source link

Support related sorts via dot separated identifiers in sort #1272

Open zachdaniel opened 5 months ago

zachdaniel commented 5 months ago

For example: Ash.Query.sort("foo.bar": :asc) and Ash.Query.sort({"foo.bar", :desc})

zachdaniel commented 5 months ago

Adding this to core is a good first issue. Adding it to the api extensions may be slightly more complex.