![gcp-cherry-pick-bot[bot]](/assets/img/avatar_default.png)
internal: fix go paginator not setting page correctly (#11253) Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
27 lines
584 B
Go
27 lines
584 B
Go
package ak
|
|
|
|
// func Test_PaginatorCompile(t *testing.T) {
|
|
// req := api.ApiCoreUsersListRequest{}
|
|
// Paginator(req, PaginatorOptions{
|
|
// PageSize: 100,
|
|
// })
|
|
// }
|
|
|
|
// func Test_PaginatorCompileExplicit(t *testing.T) {
|
|
// req := api.ApiCoreUsersListRequest{}
|
|
// Paginator[
|
|
// api.User,
|
|
// api.ApiCoreUsersListRequest,
|
|
// *api.PaginatedUserList,
|
|
// ](req, PaginatorOptions{
|
|
// PageSize: 100,
|
|
// })
|
|
// }
|
|
|
|
// func Test_PaginatorCompileOther(t *testing.T) {
|
|
// req := api.ApiOutpostsProxyListRequest{}
|
|
// Paginator(req, PaginatorOptions{
|
|
// PageSize: 100,
|
|
// })
|
|
// }
|