Azure / Azure/typespec-rust

Emit a list results model with just the next link field

Open
#441 3 comments 0 reactions 0 assignees View on GitHub
Azure.Core Client CodeGen
Dominant language
Rust
Stars
7
Forks
11
Avg merge
2d 5h
Merged PRs (30d)
5

Description

For each page of list results fetched, we deserialize list results model but only need the `next_link` (or whatever it may be called). Deserializing all the items is a waste of time and memory like we currently do in https://github.com/Azure/azure-sdk-for-rust/pull/2659 (and even prior to that PR).

It would be great if the emitter generated `pub(crate)` models to use only in the clients that need them that only had the `next_link` field.

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.