@mbc-cqrs-serverless/core
Version:
CQRS and event base core
10 lines (9 loc) • 474 B
TypeScript
/**
* Marks a class as the application's `IGroupRoleResolver` (exactly one per app).
* Discovered at bootstrap and registered in `GroupRoleResolverRegistry`.
*
* Applies `@Injectable()` with default (singleton) scope. Do **not** add `@Injectable()`
* on the same class — a second decorator can override scope (e.g. `REQUEST`) and break
* bootstrap, which resolves one instance at application startup.
*/
export declare function GroupRoleResolver(): ClassDecorator;