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.
JoinHow to Compute Permissions
Ash.can?
and code interfaces have can_<name>?
generatedAuthenticating an SPA via graphql
is AshPyro maintained?
Flaky Ash Generator
children
which allowed me to generate child entity types at the same time as the parent. Because the maps were empty, they were failing validation. once I started supplying a default value of an empty list, the flakiness seems to have gone away.'fanning out' pub sub broadcasts?
notify
option) and broadcast it yourselfError in action when policy is added
changes in generic action
ash_double_entry different currency
AshPhoenix.Form.submit()
works as expected. I added additional accounts with a different currency, EUR, and this fails with:
* ** (ArgumentError) Cannot subtract two monies with different currencies. Received :EUR and :USD.
* ** (ArgumentError) Cannot subtract two monies with different currencies. Received :EUR and :USD.
Is there a way to load a nested parent relationship on a resource?
Any expected issues when upgrading to otp 28?
[AshAuthentication] Unable to redefine User.id as a v7 uuid
user.ex
and redefine id
as having the type uuid_v7_primary_key
You will get the runtime error:
** (EXIT from #PID<0.94.0>) an exception was raised:...main
of AshAuthentication
Not creating v7 uuids for ids
id
attribute:
```...Error: `key :manual not found in: nil` with create_query using graphql
inputs_for not working when I do manage_relationship in Ash.Changeset.before_action
change manage_relationship(:beds, type: :create)
in the action, inputs_for works.
But when I put the manage_relationship in before_action, it doesn't work, e.g.:
```...AshEvents: AshPostgres.DataLayer.Info.repo/1 is undefined
ash_postrgres
. Closing this until it's a problem. For now it's just a warning.How can change dir in Igniter.add_task cross platform? (suggestion)
claude
that can be wrong
it says it is not cross platform code for example in windows has problem
```elixir
def run_install(igniter) do...Ash-AI MCP and Cursor
ash_double_entry and updating transfers
update :update_balance do
change get_and_lock_for_update()
end
update :update_balance do
change get_and_lock_for_update()
end
Reusable Ash Resources
otp_app
is hardcoded:
```
defmodule Packaged.Resource do...AshArchival