-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Refactor ViewManagerInterfaces codegen to generate kotlin classes (#51735) #52545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request was exported from Phabricator. Differential Revision: D78118738 |
…cebook#52545) Summary: This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Differential Revision: D78118738
9d774fe
to
902c0db
Compare
…cebook#52545) Summary: This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Differential Revision: D78118738
902c0db
to
18d2451
Compare
This pull request was exported from Phabricator. Differential Revision: D78118738 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D78118738 |
…cebook#52545) Summary: Pull Request resolved: facebook#52545 Pull Request resolved: facebook#51735 This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Differential Revision: D78118738
18d2451
to
bc546fa
Compare
This pull request was exported from Phabricator. Differential Revision: D78118738 |
…cebook#52545) Summary: This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Reviewed By: cortinico Differential Revision: D78118738
bc546fa
to
9a9c065
Compare
This pull request was exported from Phabricator. Differential Revision: D78118738 |
…cebook#52545) Summary: This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Reviewed By: cortinico Differential Revision: D78118738
9a9c065
to
c8c8f0f
Compare
This pull request was exported from Phabricator. Differential Revision: D78118738 |
Summary: This diff fixes the following warning: ``` The corresponding parameter in the supertype 'XYZViewManager' is named 'value'. This may cause problems when calling this function with named arguments. ``` changelog: [Android][Changed] Changed method arguments names for Core ViewManagers to match the names of ViewManagerInterfaces Reviewed By: cortinico Differential Revision: D78170316
…cebook#52545) Summary: This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes, As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs ## Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) Reviewed By: cortinico Differential Revision: D78118738
c8c8f0f
to
63691a1
Compare
This pull request was exported from Phabricator. Differential Revision: D78118738 |
This pull request has been merged in 79ca903. |
Summary:
This diff refactors the ViewManagerInterfaces codegen to generate kotlin classes,
As a consequence of this change, there are some ViewManagerInterfaces that have changed their APIs
Changelog: [Android][Breaking] - Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc)
Differential Revision: D78118738