-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tcgc] continuation token feature #2206
Conversation
All changed packages have been documented.
Show changes
|
You can try these changes here
|
packages/typespec-client-generator-core/test/packages/paged-operation.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't look into the implementation details but the interface changes look good to python.
pagingMetadata.continuationTokenParameterSegments
andpagingMetadata.continuationTokenResponseSegments
toSdkPagingServiceMetadata
to indicate the mapping of continuation token parameter and response.__raw_paged_metadata
,nextLinkPath
andnextLinkOperation
inSdkPagingServiceMethodOptions
. UsepagingMetadata.__raw
,pagingMetadata.nextLinkSegments
andpagingMetadata.nextLinkOperation
instead.SdkServiceResponseHeader
to be part ofSdkModelPropertyType
. Then it could contain the client related info.resultPath
inSdkMethodResponse
. UseresultSegments
instead.SdkPagingServiceMetadata
type to store all paging related info.resolve: #2168
resolve: #2139
resolve: #1920
resolve: #2199
design is here