annotated-container icon indicating copy to clipboard operation
annotated-container copied to clipboard

Extract CacheKeyGenerator into a discrete implementation

Open cspray opened this issue 3 years ago • 1 comments

Currently the key used to store a serialized ContainerDefinition is determined by internal implementation details of the cache aware compiler. This key should be generated by a concrete class that can be injected so that other parts of the library and tools, specifically the CLI, can know what key is gonna be used for caching without having to rely on knowing implementation details.

cspray avatar Jul 15 '22 07:07 cspray

Adding an appropriate API for caching a ContainerDefinition will likely result in significant enough changes to the existing interfaces that this will need to be in a major release to avoid BC break.

cspray avatar Jul 22 '22 20:07 cspray