Skip to content
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

ensure callbacks have the required number of params #8594

Conversation

kkmuffme
Copy link
Contributor

Fix #8593

@kkmuffme kkmuffme force-pushed the callable-invalidargument-required-param-mismatch-missing-error branch from 25caba2 to 25b01ce Compare October 17, 2022 14:04
@kkmuffme kkmuffme marked this pull request as ready for review October 17, 2022 14:51
@kkmuffme
Copy link
Contributor Author

Ready to be reviewed & merged

@orklah
Copy link
Collaborator

orklah commented Oct 20, 2022

Can you add some tests to check how it reacts to variadics in callable's params and array destructuring on the call?

@kkmuffme kkmuffme force-pushed the callable-invalidargument-required-param-mismatch-missing-error branch from b789ce2 to 7d953df Compare October 22, 2022 06:53
@kkmuffme
Copy link
Contributor Author

Done

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Oct 22, 2022
@orklah orklah merged commit b739b67 into vimeo:4.x Oct 22, 2022
@orklah
Copy link
Collaborator

orklah commented Oct 22, 2022

Thanks!

@kkmuffme kkmuffme deleted the callable-invalidargument-required-param-mismatch-missing-error branch October 24, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InvalidArgument doesn't work for callable args count
2 participants