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

Add support for 0..n args in native module callbacks #4929

Merged
2 commits merged into from
May 18, 2020
Merged

Add support for 0..n args in native module callbacks #4929

2 commits merged into from
May 18, 2020

Conversation

vmoroz
Copy link
Member

@vmoroz vmoroz commented May 17, 2020

The fix is related to the issue #4789.
In our C# native module implementation we previously supported callbacks with only one argument in native modules. The C++ native modules already support callbacks with 0..n arguments.

In this PR we:

  • Implemented support for callbacks with 0..n arguments in C#.
  • Added unit tests for callbacks with 0..n arguments to C++ and C# code.
Microsoft Reviewers: Open in CodeFlow

@vmoroz vmoroz requested a review from a team as a code owner May 17, 2020 16:33
@vmoroz vmoroz added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label May 18, 2020
@ghost
Copy link

ghost commented May 18, 2020

Hello @vmoroz!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit c9d9d5c into microsoft:master May 18, 2020
NickGerleman pushed a commit to NickGerleman/react-native-windows that referenced this pull request May 19, 2020
* Support 0..n args in native module callbacks

* Change files
NickGerleman pushed a commit that referenced this pull request May 19, 2020
* Support 0..n args in native module callbacks

* Change files
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants