dropbox / dropbox/dropbox-sdk-js

Duplicate Contents property in UploadSessionAppendArg And UploadSessionFinishArg

Open
#197 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
970
Forks
353
Avg merge
9h 3m
Merged PRs (30d)
2

Description

https://github.com/dropbox/dropbox-sdk-js/blob/86a8856b84702dfd0821efd3a99334bed0e986b3/generator/typescript/dropbox_types.d.ts#L3304

Why is the contents required twice on UploadSessionAppendArg and UploadSessionFinishArg?

Both Types have a cursor (UploadSessionCursor) which requires the contents property as well as the parent object.

My assumption is that this would result in the data being duplicated in transit, for every call.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.