fix(driver-memory): publish the declared return types on find(), findOne() and create() #20962
pr-automation.yml
on: pull_request
Check PR Size
15s
Check Changeset
56s
Auto Label
7s
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.
|