Flagsmith / Flagsmith/flagsmith

Add pagination support for local evaluation

Open
#4,664 0 comments 0 reactions 0 assignees View on GitHub
sdk
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Currently all server side SDKs will only retrieve the first page of the environment document data when calling the `/api/v1/environment-document` endpoint. For environments whose data exceeds 1MB (for example, environments with large numbers of identity overrides), we will need to retrieve subsequent pages.

This will need to be implemented in all server side SDKs, and edge proxies, as informed by sub-issues of this issue.

Some points to note:

1. We need to consider what to do if retrieving all the pages takes longer than the polling interval.

Related issues / PRs

- https://github.com/Flagsmith/edge-api/pull/279

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.