Skip to content

Commit 4e3cdf2

Browse files
committed
Type the #13700 seed fixture as any: keep the metadata-protocol DEBT ledger at its frozen 63
The three new makeStubEngine([legacyReferenceToRow]) call sites each raised TS2322 under the debt instrument (the parameter intersection collapses metadata to string, while stored-seam seeds deliberately carry object-literal metadata that the stub stringifies). Annotating the fixture const `any` — the file's established stub spelling — removes exactly the 3 new errors; the 7 pre-existing frozen errors in this file are untouched, so the package measures 63 again, matching the ledger. No behavior or assertion change; suite 9/9. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBjwYLS6BciTQW3c9xQiD2
1 parent ef1563e commit 4e3cdf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/metadata-protocol/src/protocol.stored-conversions.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ describe('getMetaItems — stored rows are served canonical (#3903)', () => {
153153
// is exactly what the stub seeding reproduces), and objectui's
154154
// `reference ?? reference_to` fallback arms are being deleted on the strength
155155
// of this suite: the serve face must only ever emit `reference`.
156-
const legacyReferenceToRow = {
156+
// Typed `any` like the stub engine above: the seed deliberately carries an
157+
// object-literal `metadata` (makeStubEngine stringifies it), which `Row`'s
158+
// stored shape (`metadata: string`) rejects at the call site.
159+
const legacyReferenceToRow: any = {
157160
type: 'object',
158161
name: 'crm_contact',
159162
metadata: {

0 commit comments

Comments
 (0)