Add Rego lang extension to work with the cache
Create CacheExt
struct with the GetCacheFunc
and SetCacheFunc
method. These methods are universal and could be used either for use cases with the library or for extending the runtime as well.
Please find the working example of how to use the extension with the library inside of the unit tests
Edited by Valerii Kalashnikov
Merge request reports
Activity
Filter activity
requested review from @lyuben.penkovski
assigned to @valerii.kalashnikov
added 1 commit
- f7ed5f13 - Add Rego extension for setting value inside of the cache
added 11 commits
-
f7ed5f13...157721cf - 8 commits from branch
main
- 4b8f7c8b - Add Rego lang extension to work with the cache
- 61832c37 - Fix linting errors
- ed961403 - Add Rego extension for setting value inside of the cache
Toggle commit list-
f7ed5f13...157721cf - 8 commits from branch
mentioned in commit 30137016
Please register or sign in to reply