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 restore LiveView state when using infinite scroll when browser back button is clicked?
Getting Started with API Extension Building
AshJsonApi pretty much since I started with Ash. My goal was to make some improvements to it and continue on.
Long story short, I'm integrating with a... let's just call it "legacy" system and for a number of reasons—some sensible, some not—I'm going to need APIs that better resemble the existing infrastructure. I can't even really call these a "standard" so much as... I don't even know.
Additionally, there's a team here looking to standardize internal service communication using gRPC....Custom auth pages
trigger_submit
Ash query with 1 filter performs worse than the same Ecto query
Can reads return anything?
AshAuthentication with an already existing auth flow
Weird policy behavior
Error Loading 3 `no_attributes?: true` nested relationships
Grandpappy > has_many > Parent > has_many > Child > has_many Toy
Grandparent also has_many :grandchild_toys via a no_attributes?: true relationship:...Single File Ash Authentication
AshGraphQL bulk operation
ash.codegen --dev & ash_ai / vector attr type
ash_ai thing or an ash.codegen --dev with vectors thing, (I'm guessing the latter) but my project is deadlocked now since it wants to add this:
```use Ecto.Migration
def up do...AshGraphQL mutation with metadata
:sign_upload_url that will return a metadata :upload_url, however I can't make it return the metadata from mutationTesting liveviews requiring users to be logged in.
** (KeyError) key :token not found in: %{selected: [:id, :role, :email, :updated_at, :inserted_at, :organization_id]} when I try to create a user and sign it in for the test.
this is the test:
...Zipper replace and Rewrite
Sourceror.Zipper.replace replaced the third argument with a module that I will also create.
I was thinking of doing like a git diff, which I think diff_and_yes? function does. But I can't figure out how does this relate to rewrite/source.
...Igniter.do_or_dry_runbefore_action in bulk_create
Invalid default values

Shared Validations
User resource that has an email that has format and length requirements. Say there was a second resource where I wanted to share those same validations. Where would I store that? Normally I would put it in the MyApp.Accounts.User.Validations.Email module, but I'm not sure if that's appropriate to share across resources as a validation. The only alternative I can think of is having something like `MyApp.Accounts.Shared...MyApp.Domain.Validations...Best way to run bulk ops in a transaction
Does `mix ash.codegen` generate drop migrations for deleted resources
mix ash.codegen says everything is up-to-dateThe domain Foo.Bar requires that an actor is provided at all times and none was provided.
main.
We have our domains set up like:
```elixir
authorization do...main