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.
JoinTransactions
Post.create_with_log(%{title: title})
Then in my Post resource file, I could possibly:
1) Create a code_interface
definition such as define(:create, args: [:title], action: :create_with_log)
...Keyset pagination doesn't seem to use default_limit value
Session params missing for oidc providers using response_mode: form_post (e.g. Azure AD)
response_mode: form_post
. This requires that the POST callback endpoint is not under CSRF protection (similar to how pow_assent
is doing it).
The issue is that the user/<strategy>
key is not in the session during the callback phase. Am I required to implement a server side session store as pow
does it?
See the setup below:
...Testing: How to approach testing
Why don't read actions filter by attributes?
warning: Changeset has already been validated for action :create.
Should I use old-fashioned DB lookup tables? What might be some alternatives?
relationships
. Would you recommend an alternative? I had considered for small sets to use a calculation, but I think that works with reads but not writes, right?...How to: Conditional validation with built-ins
AshCsv - duplication on `upsert?: true`
upsert?: true
on a create action, I get duplicates in the CSV file. For context, here's the ressource
```
elixir
...Does Api.bulk_create support action's arguments?
Add conditions to upsert
Calculations in AshJsonApi?
includes
list seems to imply it's only looking for resources:
help with ash_geo for using locations.
Creating index from identity or custom index creates bad migration
AshJsonAPI Responses
Filtering many_to_many relationships
Key :editing_tenant not found
Prefixed base62 UUIDv7 primary key implementation with Ash
0188aadc-f449-7818-8862-5eff12733f64
will be shown as acct_02tRrww6GFm4urcMhyQpAS
), like what is described here for Ecto (https://danschultzer.com/posts/prefixed-base62-uuidv7-object-ids-with-ecto).
I'll be happy to contribute with the result of this as a code sample or better as an elixir package as soon as I get it all working properly.
...What is the __metadata__ field in new versions of Ash?
__metadata__
field will be a empty map %{}
, but when I fetch the same resource with a read
action, it will contain a key called selected
in that map with the list of fields that were selected....Need a feature for customizing error message.