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.
JoinGraphQL :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.AshPhoenix.Form fails to submit with Ash.Error.Query.InvalidFilterValue error
AshPhoenix.Form.remove_form
and then AshPhoenix.Form.submit
, I get this error:
```elixir
[warning] Unhandled error in form submission for Marketplace.Markets.Property.update
...AshAuthenticationPhoenix controlling generated routes
AshGraphql erroring with key :run not found
Filter check is returning an error tuple, rather than filtering rows.
visibility
attribute is not 1. The table contains some rows where visibility == 2, so I expected the query will filter those out.
```
policy action_type(:read) do
forbid_if Invisible...AshPhoenix.Form fails in submit without errors with embedded resources
Issues using Ash.Type.Union
Validate not nil, min and max for a string