flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Add pagination support for local evaluation

Open matthewelwell opened this issue 1 year ago • 0 comments

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 as per the following list.

  • [ ] python
  • [ ] java
  • [ ] rust
  • [ ] node.js
  • [ ] golang
  • [ ] elixir
  • [ ] .NET
  • [ ] php
  • [ ] ruby

This will also need to be added to the Edge Proxy.

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

matthewelwell avatar Sep 27 '24 10:09 matthewelwell