docs: fix stale and incomplete API doc comments #422
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/eventcore!422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/api-doc-follow-up"
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?
Summary
Follow-up to PR #420 — two inaccuracies found in review:
ExecutionResponsehad a stale placeholder doc ("yet to be determined"). Replaced with accurate description of what the type represents and documented theattempts()method. AddedExecutionResponseto the module-level error-handling section ofeventcore/src/lib.rs.eventcore-typesmodule overview was incomplete — it omittedStreamPattern,StreamPrefix,EventFilter,EventPage, all projection traits (Projector,EventReader,CheckpointStore,ProjectorCoordinator), andBusinessRuleMessage.Test plan
cargo doc --workspace --no-depsstill passes with zero errorsThis PR updates stale and incomplete API documentation across several modules, improving clarity and accuracy. The changes appear safe to merge as they only affect documentation and all tests pass.
Walkthrough
LLM usage and cost
Estimated total USD: $0.028672 via https://api.openai.com and https://api.openai.com
The pull request updates the API documentation by replacing stale placeholders and adding missing module overviews. The changes are documentation-only and do not affect the code logic, making it safe to merge.
Walkthrough
Δ since
240d532:ExecutionResponsedocumentation to replace stale placeholder text with accurate descriptions.eventcore-types, includingStreamPattern,StreamPrefix,EventFilter,EventPage, and various projection traits.LLM usage and cost
Estimated total USD: $0.178506 via https://api.openai.com and https://api.openai.com