Skip to content

Commit 8f60958

Browse files
youhaoweiclaude
andcommitted
fix(connector-rest): return rowCount from query() for the ConnectorQueryResult contract
ConnectorQueryResult now requires rowCount (added for the Notion frame-persist flow). connector-rest is the second implementor of query() — return limitedRows.length so the shared contract holds. Surfaced by CI after rebasing onto main, which introduced connector-rest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 01f18a3 commit 8f60958

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/connector-rest/src/connector.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ export class RestConnector extends RemoteApiConnector {
763763
arrowBuffer: base64,
764764
fieldIds: fields.map((f) => f.id),
765765
fields,
766+
rowCount: limitedRows.length,
766767
};
767768
});
768769
}

0 commit comments

Comments
 (0)