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.
JoinAshRateLimiter - 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....How to paginate related data in json API?
http://localhost:4000/api/v1/client/{id}/data the data is not paginated.
Is this a bug or am I missing something? Here's the relevant code
```elixir...AshAI json schema usage
Ash Ai connected with external MCP Servers
the more tests I write, the more deadlocks I run into
ExUnit.start(max_cases: 2) and shrink the config/test.ex App.Repo pool_size.
I feel like these are bandaids and there's something fundamentally wrong with my test suite. Any tips/tricks for things to look for? Some anti-patterns in my generators.ex functions?
```bash...email: StreamData.repeatedly(fn -> "email#{System.unique_integer()}@example.com" end)Use magic_link for both invitations and sign-in
create action on my user resource which is limited to actor_attribute_equals(:role, :admin), and
2. Have a read action for the sign in logic.
...Argument in many to many filter
exposed?.
When reading clients through a read action, I want to provide an arg that says to load only the exposed related Data of a Client or the non exposed or both. So I've set an argument on the read action, but now how do I access it in the filter expr on the many to many relationship?...Is it safe to log AuthController failures or can it leak private info?
How to get DataLayer transformer to run after optional Extension
def after and def before to order transformers