Skip to content

Conversation

atlj
Copy link
Collaborator

@atlj atlj commented Dec 24, 2024

Summary

Fixes #728

The codegen patcher script was deleting the whole facebook namespace when the codegen type was all or module. This was not a problem when the type was module but when the type was all, view manager specs were also getting removed.s

Test plan

  1. Create a new turbo module
  2. Set codegen type to all
  3. Add turbo module specs
  4. Run yarn bob build --target codegen
  5. Make sure android/generated/java/com/facebook/react exists and has view manager specs
@atlj atlj requested a review from satya164 December 24, 2024 13:09
@atlj atlj enabled auto-merge December 24, 2024 13:36
@sidorchukandrew
Copy link

Thank you for fixing this!!

@sidorchukandrew
Copy link

Any updates on when this one can get merged?

@atlj atlj force-pushed the @atlj/patch-view-spec-codegen branch from d5bd73b to b43403f Compare January 28, 2025 10:44
@atlj
Copy link
Collaborator Author

atlj commented Jan 28, 2025

@sidorchukandrew sorry for the late reply, I'm working on it now 👍

@atlj atlj disabled auto-merge January 28, 2025 11:02
@atlj atlj merged commit 7f5fbc7 into main Jan 28, 2025
19 checks passed
@atlj atlj deleted the @atlj/patch-view-spec-codegen branch January 28, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants