Class decorator that registers the decorated type with the Resolution scope.
Use this scope when you want one cached instance per resolution graph, so repeated resolutions within the same request reuse the same value.
Example:
@ResolutionScoped()class Wand { // ...} Copy
@ResolutionScoped()class Wand { // ...}
Class decorator that registers the decorated type with the Resolution scope.
Use this scope when you want one cached instance per resolution graph, so repeated resolutions within the same request reuse the same value.
Example: