microsoft / microsoft/typespec
Consider using Utf8JsonReader for CollectionResult
Open
emitter:client:csharp
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
For the untyped CollectionResult that lets you iterate through ClientResult, we still deserialize into the internal envelope type to get the continuation token/next link. This is not as efficient as using Utf8JsonReader to just get the specific properties we are interested in. Things to keep in mind is that this would need to handle nested continuation tokens.
Contributor guide
Assessment
This issue has not been assessed yet.