Improve codegen to add getDebugProps to components - #53135
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
9cd98c6 to
7bca31e
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
7bca31e to
6c490a2
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
8578a0f to
877ad3b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
877ad3b to
67b9a8c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
f873a44 to
806f644
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
061a4ae to
f106f65
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
8a15c99 to
92ca9a5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
92ca9a5 to
0041b9d
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
0041b9d to
365d289
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
2195fb6 to
3f164a2
Compare
e07bc67 to
e5b9525
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
Summary: Pull Request resolved: #53135 Our Codegenerated components are not generating code for `getDebugProps`. This change modifies Codegen to add those functions for all the codegen components. ## Changelog: [General][Added] - Added getDebugProps to codegen ## Facebook: `getDebugProps` are required by Fantom to write tests. However, we can't generate these function for third party components, because codegen can generate arbitrary structs and we don't have a generic `toString()` method that can be used or automatically generated by C++. By generating this function only for Core Components, we can ensure that we can write Fantom tests without breaking all the users of React Native. Reviewed By: rubennorte Differential Revision: D79805145
|
This pull request was exported from Phabricator. Differential Revision: D79805145 |
e5b9525 to
528451f
Compare
|
This pull request has been merged in e547f46. |
|
This pull request was successfully merged by @cipolleschi in e547f46 When will my fix make it into a release? | How to file a pick request? |
Summary:
Our Codegenerated components are not generating code for
getDebugProps. This change modifies Codegen to add those functions for all the codegen components.Changelog:
[General][Added] - Added getDebugProps to codegen
Differential Revision: D79805145