Closed pictos closed 1 week ago
@brminnick I didn't try out, but when we chated on discord you mentioned that error for TypedBinding... This one, I presume, is a different API. Peppers also mentioned that we should have a better XP on .net 9 GA version, compared to the RC and preview ones.
Thanks for confirming.
It uses TypedBinding under the hood.
To avoid accidentally injecting runtime errors, I'll close this for now until the Compiled Bindings interceptor has been updated to intercept bindings defined out of scope like these and we've tested + verified they work at runtime.
This PR updates
Expander
to use the new and AoT friendly Binding API introduced by .NET MAUI.With this we can make sure our code is trimming safe. For reference you can watch this part of Peppers presentation on .NET Conf