Skip to content

fix(driver-memory): publish the declared return types on find(), findOne() and create() #20962

fix(driver-memory): publish the declared return types on find(), findOne() and create()

fix(driver-memory): publish the declared return types on find(), findOne() and create() #20962

Triggered via pull request September 4, 2026 18:37
Status Success
Total duration 1m 0s
Artifacts

pr-automation.yml

on: pull_request
Check PR Size
15s
Check PR Size
Check Changeset
56s
Check Changeset
Auto Label
7s
Auto Label
Fit to window
Zoom out
Zoom in

Annotations

1 notice
Check Changeset: .changeset/driver-memory-find-findone-create-honest-types.md#L0
ADR-0087 exemption (no-migration-prescription): A published return type moves off `any` onto the contract's own shape: no metadata key is removed, renamed or re-shaped, no spec schema changes (this diff touches `packages/drivers/driver-memory/**` only), and nothing exists for `objectstack migrate meta` to rewrite. The obligation is a TypeScript narrowing at the consumer's call site, delivered by the compiler.