Skip to content

Conversation

oguzkocer
Copy link
Contributor

@oguzkocer oguzkocer commented May 29, 2024

When we generate Swift & Kotlin bindings, all type names get renamed as camel case. This creates a disconnect between the types names in Rust & native bindings. This PR addresses that by using camel case everywhere, removing upper case abbreviations - in most cases renaming WP as Wp.

The PR is split into commits to make it easier to review. I'd normally squash these to 1-2 commits when I am done, but they will get squashed into a single commit once the PR is merged, so I am leaving them as is.

Note that the only breaking change for the native implementation was related to the type names in the login module. This is because the type names in that module went beyond abbreviations and used upper case words. All of that was addressed in a single commit: e5d139e.

@oguzkocer oguzkocer added the Rust label May 29, 2024
@oguzkocer oguzkocer added this to the 0.1 milestone May 29, 2024
@oguzkocer oguzkocer force-pushed the rename-upper-case-abbreviations-to-camel-case branch from f065e7f to e5d139e Compare May 29, 2024 16:37
@oguzkocer oguzkocer marked this pull request as ready for review May 29, 2024 16:46
@oguzkocer oguzkocer requested review from crazytonyli and jkmassel May 29, 2024 16:46
Copy link
Contributor

@jkmassel jkmassel left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this cleanup – love that we have a test suite that makes it super safe to do this kind of thing!

@oguzkocer oguzkocer merged commit 6636411 into trunk May 29, 2024
@oguzkocer oguzkocer deleted the rename-upper-case-abbreviations-to-camel-case branch May 29, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants