> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.58.0

**`(feat):`** Add the `enableNestedRequestBodyPagination` configuration option, which extends
`enableRequestBodyPagination` to page properties that live inside nested request objects, e.g.
`offset: $request.options.offset`. Such endpoints previously generated without a pager, so the
option defaults to `false` to preserve their existing return types.

```yaml
- name: fernapi/fern-go-sdk
  config:
    enableRequestBodyPagination: true
    enableNestedRequestBodyPagination: true
```

The generated pager advances the page on a copy of the request and allocates any optional
intermediate object the caller left nil (`Options: nil` and `Options: &Options{Count: &n}` both
work), across any nesting depth and through aliases to objects, without mutating the caller's
request.