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.

1- name: fernapi/fern-go-sdk
2 config:
3 enableRequestBodyPagination: true
4 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.