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

fix(cli): set default pagination offset to 0 or default if provided #5423

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

petesiki
Copy link
Contributor

@petesiki petesiki commented Dec 16, 2024

Description

  • sets default pagination offset to 0 or default if provided

Changes Made

  • adds getDefaultValue(page: RequestProperty): number and
  • initializes pagination offset to value returned from getDefaultValue

Testing

tested by running

pnpm seed run --generator ts-sdk --path /Users/petesiki/fern/client-repos/humeai/fern-config/fern/apis/unioned/ --audience external

  • Unit tests added/updated
  • Manual testing completed

@petesiki petesiki requested a review from dsinghvi as a code owner December 16, 2024 23:06
@fern-support fern-support force-pushed the psiki/default-pagination-offset branch from 488ff6a to 33e24a4 Compare December 16, 2024 23:09
@fern-support fern-support force-pushed the psiki/default-pagination-offset branch from 33e24a4 to b90fd0c Compare December 16, 2024 23:10
@petesiki petesiki changed the title fix(cli) - set default pagination offset to 0 or default if provided fix(cli): set default pagination offset to 0 or default if provided Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant