Torkild Gundersen Kjevik

Results 3 issues of Torkild Gundersen Kjevik

**Describe the bug** Ash.Query.distinct does not affect the query when using Ash.count. Using Ash.read however works as expected. **To Reproduce** ``` SomeResource |> Ash.Query.distinct([:some_field]) |> Ash.count!(opts) compare with SomeResource |>...

bug

This refactoring extracts the shared logic in `retrieve_from_session` and `assign_new_resources` into a separate helper function. The main motivation for this refactoring is that this will also allow `AshAuthentication.Phoenix.LiveSession.on_mount` to reuse...

**Describe the bug** Type coercion/casting number values when translating ash-expressions into sql-queries doesn't always cast to decimal anymore, resulting in breakage with for example the ash_money-extension. **To Reproduce** Example expression:...

bug