Stephan
AEAsh Elixir
•Created by Stephan on 11/11/2023 in #support
How to define custom sort?
I'm trying to get started with Ash but I'm really struggling with the basics. I'm trying to do something like this:
but this doesnt work. Nevermind if it makes sense. I'm really just trying to find out how I can supply an argument to an action and do something with it. I have looked through the docs to no avail. The docs on
expr
don't deal with conditions and also apparently args
can't be used in sort which is also not covered in the docs, so I'm really lost. Any help would be appreciated.4 replies