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

Enable ability to codegen JSI C++ TurboModule specs #10909

Merged
merged 22 commits into from
Nov 20, 2022

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Nov 18, 2022

Description

Our codegen currently generates spec files for modules using REACT_MODULE. There exists a whole other set of codegen for generating c++ JSI modules. We already support c++ JSI modules. This change enables users of the codegen project to opt in to generate the c++ JSI specs if desired.

Testing

We have an integration test that uses a copy/pasted older version of the generated c++ JSI module code, and uses that to run a c++ JSI turbomodule. This replaces that code with code that is generated at build time, so that the test case will keep up with currently generated code.

Microsoft Reviewers: Open in CodeFlow

Copy link
Member

@vmoroz vmoroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants