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.
JoinAsh Union Calculations
%Ash.Union{}?
E.g.
```...Ash for cli apps
When to use Ash.Oban vs Ash.StateMachine
I am not sure if I have to use Oban or StateMachine, when is each more suitable?...
ash_state_machine and ash_oban to trigger state transitions is one of my favorite combinations of Ash features out therePrimary key not guaranteed unique?
primary_key? true and noticed that I can insert multiple records with the same key. Is that intended behavior? I figured for a primary key I should not need to set up a separate identity.primary_key? true on multiple attributes creates a composite primary keyAshAuthentication and UserIdentity for Oauth / Scopes
Is it possible to work around AshAuthentication tokens with read only connection?
how to config user_id inside PaperTrail
user_id in Version with Ash.read all of them is nil
```elixir
paper_trail do
primary_key_type :uuid_v7...Attempted to update stale record error update record in a loop
Error returned from: MishkaCms.Runtime.Layout.update...
Extending a spark extension?
graphql queries block that allows marking that query as intended to use the writer.
tl;dr, I'd like a way to add a new piece of config to the various queries config objects that some custom plug would be able to hook into. I swear I've seen some way to do this in docs somewhere but it's eluding me now ๐
...Load data works in terminal but in json api it returns empty
paper_trail_versions has some records as a list but in api json call the paper_trail_versions is [] empty
```elixir
action :list_versions_api, :struct do
constraints instance_of: MishkaCms.Runtime.Layout
argument :layout_id, :uuid, allow_nil?: false...sorted_versions or somethingAre there special requirements for returns :map in RPC actions?
{} to the frontend.
```ex
In Fmma.Inspections.Inspection resource...Form validation message missing field name
When trying to set password using my own update I get Postgres type error in AshAuthentication
Ash.Resource.Calculation with field_policy
Problem with load of User
Problem with Ash.Type.dump_to_native/2 after upgrade to 3.5.41
How to load archived resources?
No actor in after_action context
after_change callback. I've tried to use the context but the actor was always nil. I've ended up doing this:
```elixir
actions do
defaults [:read, :destroy]...mix ash.codegen not detecting changes
mix ash.gen.resource, and mix ash.codegen is says No changes detected, so no migrations or snapshots have been created. I am also getting a strange compiler warning about redefined modules, which makes me suspect something has gone wrong with the generators.
โฏ mix ash.gen.domain ChocolateMusicPlayer.Collection; mix ash.gen.resource ChocolateMusicPlayer.Collection.Track --default-actions read,create --uuid-primary-key id --attribute length:integer:public --attribute number:integer:public --attribute position:integer:public --attribute title:string:public; mix ash.gen.resource ChocolateMusicPlayer.Collection.Release --default-actions read,create --uuid-primary-key id --attribute date:date:public --attribute title:string:public --relationship has_many:tracks:ChocolateMusicPlayer.Collection.Track
โฏ mix ash.gen.domain ChocolateMusicPlayer.Collection; mix ash.gen.resource ChocolateMusicPlayer.Collection.Track --default-actions read,create --uuid-primary-key id --attribute length:integer:public --attribute number:integer:public --attribute position:integer:public --attribute title:string:public; mix ash.gen.resource ChocolateMusicPlayer.Collection.Release --default-actions read,create --uuid-primary-key id --attribute date:date:public --attribute title:string:public --relationship has_many:tracks:ChocolateMusicPlayer.Collection.Track
Proceed with changes? prompt....--extend postgres`on_conflict: :nothing` for a create action
on_conflict: :nothing for a create action?
I've added this to my action, but IMO it looks weird:
```elixir...