4.0: Return a single record from `Ash.read` when the action has `get?: true`
Open
enhancement
- Dominant language
- Elixir
- Stars
- 2.5k
- Forks
- 426
- Avg merge
- 23h 26m
- Merged PRs (30d)
- 46
Description
Make `get?: true` read actions cause `Ash.read` to return a single record, just like pagination causes it to return a page.
Contributor guide
Research direction
Start by locating the Ash.read entry point and the tests for read actions, pagination, and get?: true. Trace how pagination selects its return shape, then verify that get?: true returns one record while ordinary reads retain their existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100