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.
JoinNested forms questions
manage_relationship/4
in my case so I'm using after_action hooks that don't seem to work with auto?: true
.
1. Is there a way to get a behaviour similar to auto?: true
? I'm currently specifying the forms
option using a function that just generates recursive options for n
levels deep and results in
```elixir
forms: [...Is there an example of defining a resource that is an external API that you are querying from?
Deleting intermediary table record in a many_to_many relationship
How do I make an attribute on a resource unique?
Ash Form Questions
@derive Jason.Encoder
Access parent result using manage_relationship
manage_relationship/4
? I'm currently using a hook to generate related records but I'm wondering if there is a better way.cannot be explicitlyGetting error when generating migration: "...converted to an Ecto default"
GraphQL: Disable filter generation for some read actions?
filter
arguments for actions like signIn(email: String!, password: String!)
which is nonsensical. I can see the derive_filter? boolean
option for the whole resource, but is there a way to do it for a single query or mutation?The resource `Example.Accounts.User` does not define an attribute named `:unique_email`
What is the difference between `mix ecto.create` and `mix ash_postgres.create`.
--apis
flag thing?
https://ash-hq.org/docs/mix_task/ash_postgres/latest/ash_postgres-create...Ash Api without Phoenix setup
Ideal location for pivots across APIs
many_to_many
relationships. Beyond a matter of preference, anything to be aware of when deciding which of the split APIs a given join resource should live? Should cross-API joins work regardless as long as the APIs are on the same repo?Primary key not counting as identity key for magic link auth
magic_link
with the resource's primary key :id
as identity but it doesn't seem to count as an ID unless it's in the identities
block.
```elixir
strategies do
magic_link do...have the generator return values from a list (unique)
Spark.Dsl.Entity is option explicit or inferred?
Transformer
that marks every attribute as sensitive unless it has been explicitly set as non-sensitive (not quite my usecase but close). I've found where Entity.build
receives that info as opts
, and I can get and replace the attribute with the Transformer
helpers, but I'm not seeing any way to determine if it was explicitly set in the Transformer
. Is...Absinthe compilation error
JsonB sorting within Resource.actions
metadata
How do I default sort by `metadata ->> 'CreatedDate'?
```...Returns type