juspay / superposition

Superposition is a context-based configuration management system designed to facilitate safe and flexible rollout of config changes
https://juspay.io/open-source/superposition
Apache License 2.0
349 stars 17 forks source link

feat: sort_by and created_by filter params for context/list #275

Closed ayushjain17 closed 4 weeks ago

ayushjain17 commented 1 month ago

Problem

No option to filter and search on created_by and no option to change the sorting logic

Solution

  1. Add option to sort contexts by passing platform[sort_by], accepted values: priority_asc, priority_desc, created_at_asc, created_at_desc (default : priority_asc)
  2. Add option to search context created by a user by passing platform[created_by], accepted values: comma separated user email ids (does an exact match)
pratikmishra356 commented 4 weeks ago

@ShubhranshuSanjeev these breaking changes are there in main branch itself can you check list context api , query params changes it is giving empty list when try to filter