annotated-container
                                
                                 annotated-container copied to clipboard
                                
                                    annotated-container copied to clipboard
                            
                            
                            
                        Extract CacheKeyGenerator into a discrete implementation
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.
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.