-
-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Args include all arguments #570
Comments
And because of that issue it's not supported thus prohibited to use more than one |
i mean it works already? they even get the correct prototypes. the only issue are extrenous props on the arg object. should be quite straight forward to filter the props? and the presented use case is quite common imho. please dont be so fast with rejecting stuff. I appreciate your work on this library and from what i see in the next branch i definitely like the direction you are taking this tool, but closing issues so quickly while not addressing the presented use case leaves edit: i can provide a PR for this. (you can also point me to the place where you want it implemented) |
Sorry but I have literally no time last days, so I can't deliberate more on that. This issue is covered by the one with mapping names: If we have the mapping mechanism, it will automatically strip off all the additional properties as a side-effect, so no more changes needed to support that. I've added that to my |
np. I can work around the current behavior until next version is available. Thanks for reconsidering |
Describe the bug
When using multiple
Args
parameter decorators, each of these parameters contain all args and not just the ones from their respectiveArgsType
.To Reproduce
Expected behavior
An args object should only contain the args from its respective
ArgsType
.Enviorment (please complete the following information):
Additional context
While not documented, using multiple
Args
works as expected except for this issueThe text was updated successfully, but these errors were encountered: