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 extract first element from `many_to_many`
many_to_many relationship and i want to get the first element from it. I have also a has_many relationship and can get the first element using has_one with from_many? but this is only the "merging" Resource. Is there something similar for many_to_many ?
I can't use calculations or aggregations, because they can't return a resource so has_one seems to be the only one left....How to `multitenancy :bypass` of nested/normal load
read_action which call the function which has multitenancy :bypass, i get this error
```
** (Ash.Error.Invalid)
Bread Crumbs:
Error returned from: MishkaDocument.Section.read...
action: :master_read on the load call as wellError to use `filter expr` with `manage_relationship` Unknown Error
filter expr to prevent user not send request when they are not master user (without tenant and site_id)
```elixir
has_many :master_versions, MishkaDocument.WorkspaceVersion do
public? true
destination_attribute :workspace_id...column of relation does not exist - mix ash.codegen
mix ash.codegen --dev a couple of times during development. I'm now finished with this feature and want to run mix ash.codegen add_columns_for_something but I get ERROR 42703 (undefined_column) column "email" of relation "users" does not exist....mix -S phx.server failed
ChatOpenAIResponses, tools and AshAI
LangChain.ChatModels.ChatOpenAIResponses instead of LangChain.ChatModels.ChatOpenAI when it comes to tools.
If I expose a non-generic actions I get the following error complaining about additionalProperties in the schema generated by ash_ai....Add order to many_to_many table
Human and Gift resources. Then I also have a HumanGifts many_to_many table to join the two resources. This table contains a human_id, a gift_id and an order of type integer. What I am trying to do is make it so that when a Human creates and sorts their gifts in the UI, the gifts are saved in the Gifts table but their order is persisted in the HumanGifts table. I have tried different things all day but have not been able to get this working via `manage_relat...order_is_key
```elixir
update :manage_gifts do
argument :gifts, {:array, :map}...Full text search
Testing Filters
`relate_actor allow_nil? false` returning 400 error when `authorize_if actor_present()`
change relate_actor. see my code, when i use default relate_actor which is allow_nil?: false, i get 400 error when i do not send user token or actor, for example without auth i send request
```elixir
create :create do
description "Follows a blogger"
primary? true...Upgrade from 3.5.12 to 3.7.6 Broke Calculcation
Unknown Error ...
Display inputs_for when relation it still nil
Person that has a has_one relationship to a contact_info resource. How can I get the inputs_for contact info to display on the front so that the user can basically "create or update" the contact info without clicking an "add contact info" button? Right now, the nested input fields do now display unless there is something already in the database for that user. Not sure if I am making sense. Thank you!add_formProblem to load `included` relation data - return `[]` list in AshJson without actor
includes without paginated_includes (this problem still exist not just about paginated)
```elixir
json_api do
type "collection"
...:<relationship_name>_join_relationship dose not work for me, idk
buti told ai to create a debug file instead of accessing from https://gist.github.com/shahryarjb/2e2e94288f8edd04bd69e6b76d292f35 ...
Upgrade to 3.7.6 Broke FilterCheck
true isn't letting any records come out. I saw the return type is either a keyword list or expression.
What is the keyword list we should return?...Trigger a add_form via a combobox click
How do I change the auth page logo?

Testing with Ash fail
mix deps.compile failing for ash_authentication_phoenix
when using ash typescript and rpc, not able to load other relations
Testing `filter expr` inside `many_to_many` relation
is_nil(type(^actor(:id), :uuid))