Skip to content

conf: replace any with generic in conf.Cached

Administrator requested to merge k/conf-cached into main

Created by: keegancsmith

This feels like a reasonable use of generics. It moves a potential runtime error (type casting the wrong type) to being a compile time error. Additionally the callsites are easier to read now.

Test Plan: go test

Merge request reports

Loading