I'm developing Windows Store application using javascript. I also have WinRT library for client-server interactions. Client receives from server a custom class User
, which is sealed, as it's required for classes in WinRT lib. I need to extend User
object for further use with data binding.
What are best practices for doing it? Is there best way than creating new UserDataBinding
class and copying all properties from User
?