-
Notifications
You must be signed in to change notification settings - Fork 25k
[Codegen 99] Extract throwIfMoreThanOneCodegenNativecommands error in error-utils #36407
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
[Codegen 99] Extract throwIfMoreThanOneCodegenNativecommands error in error-utils #36407
Conversation
cipolleschi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work, as usual! 👏
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Base commit: 57a2508 |
|
/rebase |
0327ba9 to
0028bf2
Compare
|
I don't understand why CircleCI on main is passing, but it is not passing in this PR. :/ |
I see that these tests are failing in my other PR's too :(. But there are no ruby related changes |
|
/rebase |
0028bf2 to
8361db0
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
/rebase |
8361db0 to
cbecfe6
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
/rebase |
cbecfe6 to
2331ff6
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
2331ff6 to
9a806d2
Compare
|
/rebase |
9a806d2 to
e24fd99
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@cipolleschi merged this pull request in 347d6f8. |
…acebook#36407) Summary: Part of Codegen Umbrella Issue: facebook#34872 > [Codegen 99] Extract the throwIfMoreThanOneCodegenNativecommands error in the error-utils.js file and extract the error code from [Flow](https://github.com/facebook/react-native/blob/main/packages/react-native-codegen/src/parsers/flow/components/index.js#L111-L133) and [TS](https://github.com/facebook/react-native/blob/main/packages/react-native-codegen/src/parsers/typescript/components/index.js#L112-L114) ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [Internal] [Changed] - Extract throwIfMoreThanOneCodegenNativecommands error in error-utils Pull Request resolved: facebook#36407 Test Plan: `yarn jest react-native-codegen` Reviewed By: christophpurrer Differential Revision: D43912403 Pulled By: cipolleschi fbshipit-source-id: 1c51fc01465a1baa5f06ccea09c3342584bb82cc
Summary
Part of Codegen Umbrella Issue: #34872
Changelog
[Internal] [Changed] - Extract throwIfMoreThanOneCodegenNativecommands error in error-utils
Test Plan
yarn jest react-native-codegen