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

Allow a service delegate to create a named service

Open cspray opened this issue 2 years ago • 1 comments

Right now the #[ServiceDelegate] Attribute can only be used to create explicit object types. However, we should be able to use this pattern to create any value that might be put into a service; including callables, strings, and other scalar types. If we allow a service to be defined by name and then allow a factory to create that named service it should be able to provide functionality for non-object container values.

cspray avatar May 21 '23 13:05 cspray

Need to research whether this is actually an issue. I believe this should be supported now.

cspray avatar May 12 '24 13:05 cspray