Clear and concise description of the problem
There is some decorators what would want to get the original value non marshalled(like the @example decorator).
There is a few options:
- add a
getRawArg(index: number): Entity on the DecoratorContext. - Problem is you cannot call then a decorator with context.call() that depend on this.
- Add a
$example.disableArgMarshalling - Problem is that tspd then cannot generate the right signature for this decorator as it won't know about this flag.
- Add a modifier on the decorator declaration
extern raw dec example(target, value: valueof unknown)
Checklist
Clear and concise description of the problem
There is some decorators what would want to get the original value non marshalled(like the
@exampledecorator).There is a few options:
getRawArg(index: number): Entityon theDecoratorContext. - Problem is you cannot call then a decorator withcontext.call()that depend on this.$example.disableArgMarshalling- Problem is thattspdthen cannot generate the right signature for this decorator as it won't know about this flag.extern raw dec example(target, value: valueof unknown)Checklist