Skip to content

Replace full NoteMetadata with a fixed-size header in NoteSyncRecord #1720

Description

@SantiagoPittella

With the recent addition of note attachments, NoteMetadata is no longer bounded. It can be up to 8-16 KB per note. Since NoteSyncRecord is embedded in sync responses that return summaries of many notes, this makes response sizes unbounded.

Replace the full NoteMetadata in NoteSyncRecord with a fixed-size note metadata header (64 bytes: metadata header + attachment commitment word). Users who need full note details including attachments can use the GetNotesById endpoint.

Metadata

Metadata

Labels

rpcRelated to the RPC component

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions