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.
Differences between UUID primary keys in Ecto vs Ash
uuid_primary_key
unwraps into:
```elixir
attribute :id, :uuid do
writeable? false
default &Ash.UUID.generate/0...Starting a Phoenix/Ash project with minimal cruft
Check a policy manually
How to insert a record with its nested children?
Ash dropping FilterCheck if there's `authorize_if always()`
authorize_if MyApp.FilterByActorId
authorize_if always()
authorize_if MyApp.FilterByActorId
authorize_if always()
How do relationships with composite keys work?
Policy checks on related resources