Skip to content

refactor(multiple): unified crud grammar for domains - #2134

Merged
bfoley12 merged 2 commits into
devfrom
unify-crud-grammar
Aug 19, 2026
Merged

refactor(multiple): unified crud grammar for domains#2134
bfoley12 merged 2 commits into
devfrom
unify-crud-grammar

Conversation

@bfoley12

Copy link
Copy Markdown
Collaborator

Summary

Major changes:

  • domains' services, repos, and routers now all expose a similar public api
    • rather than including the domain in CRUD methods (ie insert_one_contribution) or specifying that an operation uses id (ie. insert_by_id), now we just expose *_one and *_many (ie. insert_one or get_many)

all domains now expose public `*_one` and `*_many` rather than including their domain in the method names. This allows for a similar method space regardless of domain
@bfoley12
bfoley12 merged commit 2c00238 into dev Aug 19, 2026
5 checks passed
@bfoley12
bfoley12 deleted the unify-crud-grammar branch August 19, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant