You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this provide compiler guarantees that no code outside of the view model can assign a value to profile in this case. I don't think this can be achieved when using MutableProperty as a property wrapper.
As much as I'd love to migrate my code to this since it'd make things much simpler, I'm not comfortable doing so it at the expense of losing this compile-time guarantee.
The text was updated successfully, but these errors were encountered:
#781 allows usage of properties as property wrappers, which is amazing. There's an issue that prevents me from migrating my code to it though.
My view models generally look like this
this provide compiler guarantees that no code outside of the view model can assign a value to profile in this case. I don't think this can be achieved when using MutableProperty as a property wrapper.
As much as I'd love to migrate my code to this since it'd make things much simpler, I'm not comfortable doing so it at the expense of losing this compile-time guarantee.
The text was updated successfully, but these errors were encountered: