Create the Lexicon and Study Ash domains #58
Labels
No labels
area
auth
area
data
area
domain
area
infra
area
stats
area
study
area
tooling
area
ui
duplicate
future
kind
bug
kind
chore
kind
decision
kind
docs
kind
feature
kind
spike
kind
test
prio
blocker
risk
high
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nickkeers/first-thousand-words#58
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective: Domain boundaries exist before resources are added, so policy and code-interface
generation have somewhere to live.
Files:
lib/first_thousand_words/lexicon.exlib/first_thousand_words/study.exconfig/config.exs(ash_apis)Steps:
use Ash.Domainin each, with a short@moduledocdescribing the boundary:Lexicon— languages, words, concepts, translations (reference data, read-mostly).Study— decks, cards, reviews, scheduling (per-user, write-heavy).config :first_thousand_words, ash_apis: [Lexicon, Study].Verify:
mix compile --warnings-as-errorspasses;mix ash.codegen --devis reachable.Decision to record: why two domains and not one — reference data vs per-user state have
different authorization and retention stories.
Duplicate of #6 — created by a re-run whose pagination helper only saw the first page of issues. Closing to keep the backlog clean. Repo owner can delete this outright.