Use lambda updates instead of CreateNewOnMetadataUpdateAttribute #17330
Labels
area/hot-reload
Categorizes an issue or PR as relevant to hot reload
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/enhancement
New feature or request
project/core-tools 🛠️
Categorizes an issue or PR as relevant to core and tools
What would you like to be added
Update the Uno source generators to avoid using
CreateNewOnMetadataUpdateAttribute
in order to make iOS work (new types on same native types is not supported).The only catch for this feature is MetadataUpdateHanders not being supported yet on VS 2022 for iOS/Android (this, this), and updatedTypes not working on wasm (this), which means we still need a way to detect updated types.
Possibly, we could generate internal
CreateNewOnMetadataUpdateAttribute
tagged empty types that mirror the original modified types, so that we can determine what was actually changed and raiseMetadataUpdateHandlers
in Partial Reload.The text was updated successfully, but these errors were encountered: