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.
JoinAshPhoenix.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
What's the best way to learn Ash?
Unexpected token during mix ash_phoenix.gen.live
WeightType resource that I want to create a LiveView for. When running the Ash Phoenix LiveView generator I'm getting the following error and having trouble tracking down where it comes from so I can fix it. Help?
``
mix ash_phoenix.gen.live Mitochex.Workouts Mitochex.Workouts.WeightType
Would you like to name your actor? For example: current_user`. If you choose no, we will not add any actor logic. [Yn] n...How To: Return a computed relationship in a read.
Post has a 'top comment'. So when i'm fetching a Post or list of Posts, I will like it to include the top comment like so: post.top_comment.
I'm currently trying to use a preparation to load this relationship but not sure how to execute it on the Ash.Query side of things. Any ideas here would be appreciated!...sort many_to_many
Resource MyApp.Accounts.FriendLink is not present in any known Ash.Api module.
Implementing token inactivity timeout with automatic expiry extend
token_lifetime, and would now like to add a way to log the user out after a period of inactivity, and also extend their session expiry whenever they make a request to keep them logged in beyond the initial expiry time. I have realised that this may be at odds with using JWTs as the token, as they are effectively tamper proof....How to: DateTime validation with compare/2
Using code_interface args
ManualRead not resolving in graphQL
AshAuthentication missing notifications when running Expunger
How to effiently add thousands+ of entries to `many_to_many` relations
Controls and Requirements with a many_to_many relation (ControlRequirement). I can set those using manage_relationship... however I now have the use case where I need to add new relations one by one ... thousands of them. My understanding is that manage_relationship with :append_and_remove expects a list ... so I'd need to fetch the list, add an item, remove duplicates and then provide this to manage_relationship, correct? I assume `:ap...(Postgrex.Error) ERROR 42P18 (indeterminate_datatype) could not determine data type of parameter $1
Ash.Query.filter(fragment("task_id ~* '?\\d+'", ^prefix))
The Ecto doc suggests explicitly defining type withtype(^prefix, :string) but I'm not sure how it's supposed to fit in as an Ash.Query. expression....InvalidFilterValue for read action
%Ash.Error.Query.InvalidFilterValue
```elixir
read :for_organisation do
argument(:organisation_id, :integer) do...