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.
JoinComplex types (postgres)
add_tag but unique
lib/app/shop/resources/product.ex ```elixir [...]...
How to add_tag? Managing Relationships
product which has a many_to_many relationship to tags.
lib/app/shop/resources/product.ex
```elixir
defmodule App.Shop.Product do...AshAuthenticationPhoenix Reset Password errors after following the guide
many_to_many update problem
product which has many_to_many tags. Creating works. Updating doesn't. Here's the resource code:
lib/app/shop/resources/product.ex
```elixir
defmodule App.Shop.Product do...Identity on `attribute :some_attribute, {:array , EmbeddedResource}`
GraphQL :type, prefix based on Context?
Preload relationship during action
load to load an association during an action. However this only loads the relationship after the action is completed. I would like to do something like this:
```elixir
action :update do
change set_attribute(:starts_at, DateTime.utc_now(), new?: true)...Cannot return null for non-nullable field
Error while building reference

pub_sub compilation issue
2813b3c9b2f45d1aec6aff2a64920404a42ac839
I'm getting the following error on compilation related to pub_sub
Given this line in a pub_sub:
publish :create, ["changed", :parent_id, [:id, nil]]...Exception in transformer AshAuthentication.Strategy.Custom.Transformer
Having some trouble with a custom policy
Understanding "manage_relationship"
many_to_many relationship between the following resources.
Reactant
```elixir
defmodule Flame.App.Resources.Reactant do
......Fragment with multiple 'from' items.
How to create a product with many_to_many tags?
How to autoload a relationship?
How to create a product with a category id?
Correct way to refer to actor in custom validation?
changeset.context.private.actor? Seems janky.