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.
JoinTenant not being recognised in load after upgrading to Ash 2.9.21
Run an create/update action without persisting the data
Any way to validate a condition from a read actions instead of policies or filters?
Can't get policies to work with AshGraphql
update_customer_registration
, which requires a Customer
actor.
My Customer
policy looks like this:
```elixir...Querying JSON fields
get selected fields in create/update action
mutations
```elixir
defmodule Demo.Policies.SelectsAllowedFields do
@moduledoc """...Test coverage for actions
Possibility to have prepare statement for create, update, delete actions
Possible to add notifier to a resource from an extension on another resource?
Migration not keeping varchar size information
What is the equivalent of Ecto's Repo.exists? in Ash?
Post
resource, and I want to create a read
action that instead of returning a specific Post
, I want it just to check if the post exists and return only true/false just like Ecto's Repo.exists?
does.
Is that possible with Ash?...migration_defaults being "rewritten" by another resource
User
resource inside the Accounts
api:
```elixir...Intergrating Gaurdian Plugs into AshGraphql
AshGraphQL
and I want the check done only when certain actions are called not all.
eg I have
elixir ```
update :update_customer_registration do
accept [...Authentication.Plug - What to do as an API? I use Phoenix, but not with views. What is provided?
AshAuthentication
I ended up using use AshAuthentication.Plug
for a plug, thinking this would provide the same set of routes as the Phoenix view version would, but it doesn't seem like it. I'm not even sure, as the docs aren't clear on this and I'm at this point digging in the code itself.
Do I have to implement my own plug and controller(s) for this? I have an Angular frontend, and will maybe consume the same API from native apps later on.
And also, does this mean that some features aren't available unless I use Phoenix?...Auth0 confusion
Read Action Prepare does not load aggregate
Calculation with arguments used in another calculation for sorting
AshAuthentication: Set return_to from LiveView redirect to login page
return_to
parameter in AshAuthentication?
If it's to be in the session, how do I set that in a liveview?
Code snippets will be helpful....Is it possible to pass a map to args instead of a list of attributes in code_interface?