UseExpansionMethod
function
Decorator function to link a field in an
Signature
function UseExpansionMethod(config: UseExpansionMethodConfig<TParentResource, TReusableExpander>): ClassDecoratorParameters
config(UseExpansionMethodConfig<TParentResource, TReusableExpander>) - Configuration detailing the field name, reusable class, method, and parameter mapping.
Returns
ClassDecorator