Skip to content

[Request]: Correct store limitations prose to acknowledge conditional writes #836

Closed

Description

@jimhoyd

Problem or use case

At main 6752ad0, docs/STORE.md's "Conditional writes" section documents strong ETags and optional If-Match on PUT/PATCH/DELETE, and its typed-export section documents update(..., {ifMatch}). packages/store/src/records.ts implements the latter; packages/store/test/records.test.ts checks stale writes return 412.

The same guide's storage limitations still say "no optimistic concurrency (PUT/PATCH are last write wins)". That contradicts the implemented conditional-write contract. It also led the recent #835 research summary to overstate the missing capability.

Proposed behavior and alternatives

Correct the limitations paragraph to distinguish optional single-record conditional writes (implemented; omitting If-Match remains last-write-wins) from transactions across records/collections (not implemented). Keep the authoritative existing conditional-write section and executable tests; do not add another guide or change behavior. Regenerate the consolidated references when required by the documentation pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions