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.
JoinPolymorphic Embedded Resources?
Identity not creating unique index
AshPhoenix form handling
How to login with a generated Magic Link in Phoenix (ash_authentication ash_phoenix_authentication)
phx.routes
returns, where there's no room to put a token.
```elixir
auth_path * /auth/user/magic_link/request ExampleWeb.AuthController {:user, :magic_link, :request}...Prevent action's changes from being run on `AshPhoenix.Form.validate`
A
that has a filed let's say capacity
, belongs_to relationship to B
resource and create
action that has a change LoadDefaultFromRelationship
. This change basically fetches the capacity
from B
resource if none was given in the create
action params for A
.
The problem with such approach is that every time we invoke the AshPhoenix.Form.validate
it makes a query to the database for this default value. Is there any way to prevent this change being run on AshPhoenix.Form.validate
but still apply on create
action?...submit_errors: [id: {"has already been taken", []}],
for_create
form is submitted, I get this error. Assuming the id
it's referring to is "form", I'm not sure why it thinks it has been taken.
```
api: MyApp.Tweets,
method: "post",...Aggregates still not working correctly
Could not relate to actor, as no actor was found (and :allow_nil? is false
change relate_actor(:author)
, I get this error. What causes no actor to be found despite that there is a logged in user?
```
submit_errors: [
author: {"Could not relate to actor, as no actor was found (and :allow_nil? is false)",...Support for Postgres generated columns
Support GIST indexes in `custom_indexes` code block
custom_indexes
?
Right now I'm using custom_statements
for it:
```elixir...Self-referencing a Resource
MyApp.Secrets must implement the 'AshAuthentication.Secret` behaviour.
`bulk_create` requiring `upsert_fields` with `upsert?: true`
bulk_create
:
Docs: "If not set, the action's upsert_fields is used, and if that is not set, then any fields not being set to defaults are written."
https://hexdocs.pm/ash/Ash.Api.html#c:bulk_create/4
...AshPhoenix.Form does not implement the Access behaviour

Custom reset password flow not passing policy checks
About policies
Use a custom operator on FilterForm
ilike
or <%
during filtering?
I believe that this item will give a solution for that https://github.com/ash-project/ash/issues/374 but AFAIK this is not done yet.
So, for now is there a workaround?...How to create organization after user creation.
Adding macros to `expr/1`
st_*
macros from GeoPostGIS to expr/1
, possibly more in future. These macros do generate exactly the fragment
syntax that is currently supported by expr
, which is pretty nice, but they don't work as-is.
Is doesn't look like it's possible currently to extend Ash.Expr
, and I'm quite interested in changing that, or at least making it possible to mix in external macros in this way using the existing supporting constructs like fragment
.
Has there been any interest/thought up to now on this topic?...Adding a Notifier breaks elixir_sense autocompletions
.sections()
on my notifier, but there is no spark DSL for notifiers.
```elixir
[Error - 11:47:38] Request textDocument/completion failed.
Message: an exception was raised:...