dropbox / dropbox/dropbox-sdk-js
Duplicate Contents property in UploadSessionAppendArg And UploadSessionFinishArg
Open
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
Assessment
This issue has not been assessed yet.