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.
JoinIgniter `Proceed with changes` message when there is no changes
update_file
function, because before it i have a function that ensure_package_json_exists
.
I do not know why it shows me even there is not changes Proceed with changes?
It is is my bug?
I tried to use create_or_update_file
function, but if file exist and there is not anything to change, it still shows Proceed with changes?
...
livebook
createdby / updatedby
How to create a negative test for a verifier
Add custom key in a action or other macro without changing the core of Ash
action
without changing Ash core? and access it for my dashboard? it is not just user role access for example another options like where this action should be shown or the icon of it and etc
Or i am forced to create my own macro?! out of action or etc! (this is very dirty way)
Thank you...Using Ash.Query in Ash.Query.load
Pubsub isolation in tests
Policies: authorize if user is an admin of the requested resource's organization
Read actions
enabling multi tenant for graphql
AshOban job failures
How to use datetime_add in set_attribute?
trial_ends_at
by 7 days in an action. I thought
```...Writing a Change with DB lock
change
that do some db queries in order to verify that the value being inserted in a foreign key is valid. Since I'm being based on other records to validate this field I need to lock those to prevent them to be modified in the middle of the change
.
Before adding any locking to my change
I decided to test this concurrent scenario so first I make it fail so then I could be certain the problem is solved once I lock the records.
My current issue is that the tests mean to run concurrently are not failing. No mater how many times I run the tests, the records are being updated in order as if a locking mechanism were in place...Slow pages ... due to too many load of data...
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
Working with Transactions
How to ergonomically add/remove to an array of embedded resource in graphql
Using manage_relationship with bulk_create
manage_relationship
with a bulk create. I want to be able to create a bunch of "child" resources in one request while also providing attributes to create their "parent" resources at the same time. In a normal create request, I can create a child and parent at the same time, but in a bulk create, it seems like it's trying to insert the parent resource twice.
Child resource:
```
actions do...Ash.Type.Tuple Enumerable not implemented
:tuple
defined like this:
```elixir
attribute :model, :tuple do
constraints [...Correct Way to Display Spark.Error.DslError?
Spark.Error.DslError
show up in the right place.
I followed patterns from core Ash code (like default_accept.ex
and verify_identities.ex
), and also looked at extensions like Ash Cloak. Here's what I did in my verifier:
```elixir...