# July 10, 2024

## 0.29.2

**`(fix):`** Fix serialization of types with circular references

## 0.29.1

**`(fix):`** Pagination endpoints that define nested offset/cursor properties are now functional.
A new `setObjectProperty` helper is used to dynamically set the property, which is inspired
by Lodash's `set` function ([https://lodash.com/docs/4.17.15#set](https://lodash.com/docs/4.17.15#set)).

The generated code now looks like the following:

```typescript
let _offset = request?.pagination?.page != null ? request?.pagination?.page : 1;
return new core.Pageable<SeedPagination.ListUsersPaginationResponse, SeedPagination.User>({
  response: await list(request),
  hasNextPage: (response) => (response?.data ?? []).length > 0,
  getItems: (response) => response?.data ?? [],
  loadPage: (_response) => {
    _offset += 1;
    return list(core.setObjectProperty(request, "pagination.page", _offset));
  }
});
```