Ash Framework
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
JoinAsh Framework
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
JoinComplex resource generation?
Subtitle
belongs to a Video
, and a Video
has many Subtitle
s. Whenever I try to crate one, the othe must be already present, otherwise I get an error. Maybe I'm doing something wrong?
```bash...Any reason expressions are not supported in validations?
Policy references

Best way to consist between attributes validation and Postgres level
check_constraints
?
```elixir...Atomic array removal
array_remove
. I have the following change:
```
attribute :thing_ids, {:array, :string}, public?: true...Is there an alternative way to select certain fields without using Ash.Query?
Custom query run in action
Repo.query!
🤔 my attempts fail. Seems I can't use the Repo module in an action 😬How to wrap multiple bulk updates in transaction
[%{id: 1, exposed: true}, %{id: 2, exposed: false}, %{id: 3, exposed: true}, ...]
[%{id: 1, exposed: true}, %{id: 2, exposed: false}, %{id: 3, exposed: true}, ...]
AshRateLimiter - warning that unrelated update actions cannot be done atomically
Unable to create a resource with an array attribute
columns
attributeAccess calculation from relation caluclation.
Supports callback in Ash Validations
supports/1
callback for the validation behaviour no longer available in Ash?
Copied and pasted this email validation example from the Ash docs https://hexdocs.pm/ash/validations.html#supporting-queries-in-custom-validations
```elixir...How to use one Enum value for REST/GraphQL, serialized as another to the database
north
, north_east
, etc. spelt out. However when I read or write that field to the database, I'd like to have it serialized as string values such as N
, NE
, etc. Here's the code I have so far:
```elixir
defmodule My.Direction do
use Ash.Type.Enum
values: [...cast_stored
and dump_to_native
callbacks on the typeHaving trouble with AshGraphql subscriptions dsl
How to revalidate a nested AshPhoenix.Form update from an handle_event
What should be the behavior of `after_action`?
after_action
is being called before prepare build(load: [:roles])
. Is this normal behavior?
```elixir
read :get_by_subject do
description "Get a user by the subject claim in a JWT"...Access magic link token as string for testing
Installer crash
ash json patch with composite primary key
Auxiliary Resources OK?
?filter[tags.name]=elixir
....