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.
Joindestroy unmatching related associations
AshPhoenix checkboxes acting wonky
Membership FilterCheck
Ash.Policy.FilterCheck) with a goal to authorize access if the actor is a member of the space associated with a given resource (optionally filtered by actor’s role in given space).
I took inspiration from Ash.Policy.Check.RelatesToActorVia, but instead of comparing to a single actor ID, I need to check whether the resource’s space_id is in the list of the actor’s valid space memberships....Custom on option on update action
update_contact_cool_action(contact, attrs, push_sync: false)
update_contact_cool_action(contact, attrs, push_sync: false)
Table renamed but old table remains
mix ecto.gen.migration gets you a one-off migrationInvalid Filter Reference
Ash.Error.Query.InvalidFilterReference
I'm trying to push a particular filter into the DB level. I have this calculation, which works:
```elixir...How do I make a query require authentication and return an error if the user is not logged in?
Grab my user's tenant name so I can display it
AshAi tool calling
Tenant registration on sign-in.
Prevent accessing route if logged in
:redirect_if_user_authenticated but I can't find the Ash way to achieve this....Windows has problems PendingCodegen after `ash.setup`

Confusion with before_transaction timing and doing changes before manage_relationship
before_transaction hook. The docs is stating the following execution order for a create action:
```...Conversion of strings with just whitespace when storing in postgres
" ".
Now, that is not a valid tax number, but we realized that the corresponding DB row has a value of null instead.
Is this the default behaviour for strings that contain only whitespace?
Is there an option to disable this behaviour and what are the caveats if we do?...manage_relationship not creating many-to-many join records
manage_relationship to work with a many-to-many relationship where the destination resource uses a non-standard primary key.
Setup
I have a many-to-many relationship between Device and Pass through a DeviceRegistration join table:...Drastic slowdowns
Guides for using ashflow
Aggregates based on resources keep failing
How to upsert multiple rows atomically?