Skip to content

Rego functions for cache write and read (set and get)

Lyuben Penkovski requested to merge 17-rego-cache-functions into main

I've put the cache functions in a more generic regofunc package so that we can retrieve them from one place.

With the previous design where cache functions were placed in the CacheExt struct it had a nice separation of concerns, but IMO it would make it more difficult when we create new built-in functions, because we would have to create multiple objects to retrieve the different functions. Please share your thoughts on this if you have objections.

Closes #17 (closed)

@valerii.kalashnikov

Edited by Lyuben Penkovski

Merge request reports