Skip to content

Generate Kotlin files with enums.py#1845

Closed
mateoguzmana wants to merge 1 commit into
facebook:mainfrom
mateoguzmana:feat/kotlin-enums-py
Closed

Generate Kotlin files with enums.py#1845
mateoguzmana wants to merge 1 commit into
facebook:mainfrom
mateoguzmana:feat/kotlin-enums-py

Conversation

@mateoguzmana
Copy link
Copy Markdown
Contributor

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

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 9, 2025

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

@meta-cla meta-cla Bot added the CLA Signed label Aug 9, 2025
@mateoguzmana mateoguzmana marked this pull request as ready for review August 12, 2025 07:45
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Aug 12, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 18, 2026

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this in D93555645.

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

NickGerleman pushed a commit to NickGerleman/react-native that referenced this pull request Feb 19, 2026
Summary:
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.

Changelog: [Internal]

X-link: facebook/yoga#1845

Reviewed By: cortinico

Differential Revision: D93555645

Pulled By: NickGerleman
@meta-codesync meta-codesync Bot closed this in 9dff914 Feb 20, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 20, 2026

@NickGerleman merged this pull request in 9dff914.

meta-codesync Bot pushed a commit to facebook/react-native that referenced this pull request Feb 20, 2026
Summary:
Pull Request resolved: #55631

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.

Changelog: [Internal]

X-link: facebook/yoga#1845

Test Plan:
RN
```sh
yarn android
yarn test-android
```

Yoga
```sh
./gradlew :yoga:assembleDebug
```

Reviewed By: cortinico

Differential Revision: D93555645

Pulled By: NickGerleman

fbshipit-source-id: cdddc9850f05cf0782cc4fdb782f22776ab12d31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Merged Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants