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.
JoinGenerated attributes on update?
GENERATED ALWAYS
) which can change on updates. generated? true
only appears to affect inserts.
I'm guessing there is a toggle somewhere to handle this maybe? Even if there's just a way to tell an update action, "Hey, definitely get the return value on the update for this one," that would also be perfect. I didn't see any obvious way in the DSLs but... that doesn't mean much, lol....(ArgumentError) could not fetch application environment :ash_domains for application :test
How to allow only one action and forbid all others by default in policy?
Resource actions - Transaction
:create
actions where I have SQLite3 as the datalayer.
I have both before_action
, manage_relatonship
and after_action
and I was expecting the whole create
action to fail and the transaction to rollback if any of the changes failed. But this does not seem to be the case..?...graphql subscription triggered by association
Sorting on the first relationship in an aggregate
:some_many_to_one_table
that got the phone number:
```elixir...many to many relationship + PhoenixForm + checkboxes
AshAuthentication failures with custom LiveViews
Confirmation broke, probably when the new confirmation button was added
Protecting against infinite loops on loading relationships
AshPaperTrail - change module name and migrations are not genearted
Version
to something different?
2. I have added AshPaperTrail and configured it to resource. But mix ash_postgres.generate_migrations --name add_paper_trail
detect not changes so no new tables in migrations are added. And now I have error after updating resource that ERROR 42P01 (undefined_table) relation \"xxx_versions\" does not exist
...[warning] Authentication failed: Query returned no users
"Comparing values with `nil` will always return `false`" warning after updating ash 3.5.34 to 3.5.35
nil
will always return false
. Use is_nil/1
instead. In: nil != {:_ref, [], :current_stop_id}
(ash 3.5.35) lib/ash/changeset/changeset.ex:973: anonymous fn/2 in Ash.Changeset.atomic_default_condition/3
(elixir 1.18.4) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3...Atom type `cast_stored/2` doesnt use `unsafe_to_atom?` constraint
cast_input/2
function (https://github.com/ash-project/ash/blob/75a5d8617a5814b3113b9cb3c646dfc687b768dc/lib/ash/type/atom.ex#L86) for the Ash.Types.Atom
allows for unsafe parsing of the input value.
The cast_stored/2
function does not have this functionality:
https://github.com/ash-project/ash/blob/75a5d8617a5814b3113b9cb3c646dfc687b768dc/lib/ash/type/atom.ex#L106
...AshPhoenix - Union: "is not a map" error
GraphQL incorrect input generation
How to test policies correctly?
Ash.can
or for code interfaces their can_
variantAshCloak - How do I decrypt?
Using AshAuthentication in an embedded React /JSON API setup
/app
. The authentication works seamlessly.
...Cannot find the right binding when sorting by fragment in many_to_many