fix(tsconnect): lowercase name/size in waitingFiles JSON #2

Merged
codinget merged 1 commits from feat/tsconnect-lowercase-waiting-files into webnet 2026-04-17 21:49:50 +02:00
Owner

apitype.WaitingFile has no json tags so it serialised as {Name, Size}.
Introduce a local jsWaitingFile struct with json:"name" / json:"size"
so the JS side receives idiomatic camelCase property names.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

apitype.WaitingFile has no json tags so it serialised as {Name, Size}. Introduce a local jsWaitingFile struct with json:"name" / json:"size" so the JS side receives idiomatic camelCase property names. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
codinget added 1 commit 2026-04-17 21:49:34 +02:00
apitype.WaitingFile has no json tags so it serialised as {Name, Size}.
Introduce a local jsWaitingFile struct with json:"name" / json:"size"
so the JS side receives idiomatic camelCase property names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
codinget merged commit 8277fc0f1d into webnet 2026-04-17 21:49:50 +02:00
codinget deleted branch feat/tsconnect-lowercase-waiting-files 2026-04-17 21:49:50 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: webnet/tailscale#2