Remove unnecessary exports from eventcore public API (ADR-030) #281
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore#281
Loading…
Add table
Add a link
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?
Parent Issue
Blocks #272 (Implement layered public API design)
Description
After integration tests have been migrated to
eventcore-examples(per ADR-032) and EventCollector has been implemented ineventcore-testing(per ADR-031), we can safely reduce the public API surface of theeventcorecrate.Goals
Remove backend-implementer types from
eventcorepublic API:EventStoretrait stays ineventcore-typesonlyCheckpointStoretrait stays ineventcore-typesonlypub(crate)Keep application-developer API in
eventcore:execute()functionrun_projection()functionCommandtrait and derive macroProjectortraitVerify no downstream breakage:
eventcore-examplespass using only public APIsDepends On
Acceptance Criteria
eventcore/src/lib.rsexports only application-developer typespub(crate)notpub