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
348 stars 16 forks source link

feat: add cache in cac client #268

Closed pratikmishra356 closed 2 weeks ago

pratikmishra356 commented 3 weeks ago

Problem

Add cache functionality in client eval

Solution

Used mini-moka , and added new optional parameters while creating new client

Environment variable changes

What ENVs need to be added or changed

Pre-deployment activity

Things needed to be done before deploying this change (if any)

Post-deployment activity

Things needed to be done after deploying this change (if any)

API changes

Endpoint Method Request body Response Body
API GET/POST, etc request response

Possible Issues in the future

Describe any possible issues that could occur because of this change

pratikmishra356 commented 3 weeks ago

@ayushjain17 I have used go formatter , it does not formats that function part