Skip to content
#

ash

Here are 74 public repositories matching this topic...

frankdugan3
frankdugan3 commented May 21, 2022

Is your feature request related to a problem? Please describe.
Complex expression calculations with nested if logic can be very hard to read.

Describe the solution you'd like
cond and/or case syntax would greatly simplify many complex nested if operators.

Describe alternatives you've considered
Nesting if operators, though hard to read, can get the job done.

**Exp

enhancement good first issue
zachdaniel
zachdaniel commented Apr 13, 2022

Currently, the sort_input only considers attributes and arguments (it was written before calculation sortability was created).

https://github.com/ash-project/ash_graphql/blob/master/lib/resource/resource.ex#L2005

What we likely need to do is have an option when using use AshGraphql like sort_schema: :simple | :complex, with :simple being the default. Eventually we may actually just re

enhancement good first issue

Improve this page

Add a description, image, and links to the ash topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ash topic, visit your repo's landing page and select "manage topics."

Learn more