Skip to content

docs(go): document enableNestedRequestBodyPagination - #6936

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1789232762-go-nested-request-body-pagination
Open

docs(go): document enableNestedRequestBodyPagination#6936
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1789232762-go-nested-request-body-pagination

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The Go SDK generator can now generate auto-paginating methods for endpoints whose cursor/offset page property lives inside a nested request-body object (e.g. offset: $request.options.offset), via the new opt-in enableNestedRequestBodyPagination config option. Previously these endpoints (Plaid-style /transactions/get, where count/offset sit inside an optional options object) silently fell back to plain non-paginated methods even with enableRequestBodyPagination: true. A separate flag lets customers opt in without changing return types for existing users of enableRequestBodyPagination.

Implements docs for: feat(go): support nested page properties in request-body pagination (fern-api/fern#17700)

Pages changed

  • fern/products/sdks/generators/go/configuration.mdx — reworded the enableRequestBodyPagination nested-property sentence to point at the new option; added an enableNestedRequestBodyPagination <ParamField> directly after it (requires enableRequestBodyPagination: true, defaults to false because of the return-type change) with a generators.yml snippet.
  • fern/products/sdks/deep-dives/configure-auto-pagination.mdx — one sentence in the Go tab pointing to the new option for nested page properties.

No changelog entry (SDK changelogs are auto-generated). pre-commit (Vale) and fern check --warnings pass.

Link to Devin session: https://app.devin.ai/sessions/a2a939735d494547831975c5fb60c8a0
Open in Devin Desktop: https://app.devin.ai/desktop/session/a2a939735d494547831975c5fb60c8a0?variant=devin

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants