The Wayback Machine - https://web.archive.org/web/20201105105640/https://github.com/topics/ash
Skip to content
#

ash

Here are 47 public repositories matching this topic...

zachdaniel
zachdaniel commented Oct 25, 2020

Is your feature request related to a problem? Please describe.
In order to support deriving attributes based on related data, we want to support a take_first aggregate

Describe the solution you'd like

  aggregates do
    count :foo_count, [:foos]
    take_first :title, :foos, :title, where: [is_primary?: true] <- add this
  end
zachdaniel
zachdaniel commented Aug 27, 2020

Right now, we don't validate that filters/sorts only use the fields exposed in the json api, which would be a big problem if someone used this in production (if anyone is reading this issue, and ash is still in alpha, and you used it in production and somehow exposed some data about your system, it is your fault :) )

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

You can’t perform that action at this time.