Skip to content
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

[Epic] Support advanced paging/lro cases #2134

Open
1 of 6 tasks
MaryGao opened this issue Nov 19, 2023 · 0 comments
Open
1 of 6 tasks

[Epic] Support advanced paging/lro cases #2134

MaryGao opened this issue Nov 19, 2023 · 0 comments
Assignees
Labels
Epic P1 priority 1

Comments

@MaryGao
Copy link
Member

MaryGao commented Nov 19, 2023

Tasks

Preview Give feedback
  1. HRLC p0
    MaryGao
  2. Client DPG/RLC v2.0 GA Epic: Convenience methods with models P1 RLC
    MaryGao
  3. HRLC P1
    MaryGao

Support advanced paging cases

Below cases are supported in TypeSpec yet, and should be supported with high priority.

  • LRO & Paging
  • Nested nextLink position
@pagedResult
  model Foo {
    boo: {
      @items
      things: string[];

      doo: {
        @nextLink
        next?: string;  
      }
    }
  }
  • POST operation in nextlink
interface Foo {
        #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "This is a test."
        @route("fooPage/")
        @get nextPage is Azure.Core.Foundations.Operation<{ nextLink: string }, Azure.Core.Page<MyResource>>;

        @nextPageOperation(Foo.nextPage, { nextLink: ResponseProperty<"nextLink"> })
        list is Azure.Core.ResourceList<MyResource>;
}
  • Specific operation in nextlink
@MaryGao MaryGao changed the title [Modular] Support advanced paging cases [Epic] Support advanced paging cases in RLC and Modular Nov 20, 2023
@MaryGao MaryGao added Epic P2 priority 2 labels Nov 20, 2023
@MaryGao MaryGao changed the title [Epic] Support advanced paging cases in RLC and Modular [Epic] Support advanced paging/lro cases in RLC and Modular Jan 31, 2024
@MaryGao MaryGao changed the title [Epic] Support advanced paging/lro cases in RLC and Modular [Epic] Support advanced paging/lro cases Jan 31, 2024
@MaryGao MaryGao self-assigned this Jun 11, 2024
@MaryGao MaryGao removed the P2 priority 2 label Jun 11, 2024
@MaryGao MaryGao added the P1 priority 1 label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic P1 priority 1
Projects
None yet
Development

No branches or pull requests

1 participant