microsoftgraph / microsoftgraph/msgraph-sdk-go
Allow streaming of file content
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 335
- Forks
- 43
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 3
Description
ItemItemsItemContentRequestBuilder::Get currently reads an entire file into memory and returns it as a []byte slice. This is a problem when dealing with lots of large files. It would be helpful if there were a way to get an io.Reader so that the response body can be processed as a stream.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading drives/item_items_item_content_request_builder.go at ItemItemsItemContentRequestBuilder::Get and trace how the response body becomes a []byte. Determine the SDK entry point for exposing an io.Reader without loading the entire file, then verify that large file responses can be processed as streams.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100