Generate Kotlin files with enums.py #1845

Open
mateoguzmana wants to merge 1 commits from mateoguzmana/feat/kotlin-enums-py into main
mateoguzmana commented 2025-08-09 03:16:43 -07:00 (Migrated from github.com)

This PR extends enums.py to also write Kotlin files. To introduce this in the least breaking manner, we can gradually do one by one and at the end clean up the Java script.

Migrate YogaDirection to Kotlin.

Test plan:

RN

yarn android
yarn test-android

Yoga

./gradlew :yoga:assembleDebug
This PR extends enums.py to also write Kotlin files. To introduce this in the least breaking manner, we can gradually do one by one and at the end clean up the Java script. Migrate YogaDirection to Kotlin. **Test plan:** RN ```sh yarn android yarn test-android ``` Yoga ```sh ./gradlew :yoga:assembleDebug ```
vercel[bot] commented 2025-08-09 03:16:48 -07:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yoga-website Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2025 10:19am
[vc]: #dC+b60cZ+7q0EUXvFysTt6Jj6LAVRI4rLwajhCuYli4=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJ5b2dhLXdlYnNpdGUiLCJyb290RGlyZWN0b3J5Ijoid2Vic2l0ZSIsImluc3BlY3RvclVybCI6Imh0dHBzOi8vdmVyY2VsLmNvbS9mYm9wZW5zb3VyY2UveW9nYS13ZWJzaXRlLzdHZVZuUEdjYk5GQ0JGazhrb2J4REpLcGNhaGMiLCJwcmV2aWV3VXJsIjoieW9nYS13ZWJzaXRlLWdpdC1mb3JrLW1hdGVvZ3V6bWFuYS1mZWF0LWtvdC1jN2U5NzEtZmJvcGVuc291cmNlLnZlcmNlbC5hcHAiLCJuZXh0Q29tbWl0U3RhdHVzIjoiREVQTE9ZRUQiLCJsaXZlRmVlZGJhY2siOnsicmVzb2x2ZWQiOjAsInVucmVzb2x2ZWQiOjAsInRvdGFsIjowLCJsaW5rIjoieW9nYS13ZWJzaXRlLWdpdC1mb3JrLW1hdGVvZ3V6bWFuYS1mZWF0LWtvdC1jN2U5NzEtZmJvcGVuc291cmNlLnZlcmNlbC5hcHAifX1dfQ== **The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more) | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **yoga-website** | ✅ Ready ([Inspect](https://vercel.com/fbopensource/yoga-website/7GeVnPGcbNFCBFk8kobxDJKpcahc)) | [Visit Preview](https://yoga-website-git-fork-mateoguzmana-feat-kot-c7e971-fbopensource.vercel.app) | 💬 [**Add feedback**](https://vercel.live/open-feedback/yoga-website-git-fork-mateoguzmana-feat-kot-c7e971-fbopensource.vercel.app?via=pr-comment-feedback-link) | Aug 9, 2025 10:19am |
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin mateoguzmana/feat/kotlin-enums-py:mateoguzmana/feat/kotlin-enums-py
git checkout mateoguzmana/feat/kotlin-enums-py
Sign in to join this conversation.
No description provided.