WebSharper: Rpc-returned object are unusuable on the client or cause error
问题 I have a few server-side objects with inheritrence hierarchy, like this: [<JavaScriptExport>] type [<AbstractClass>] A() = ... [<JavaScriptExport>] type [<AbstractClass>] B() = inherit A() [<JavaScriptExport>] type C() = inherit B() The above objects have certain fields and methods, which I have omitted for brevity. All of those can be compiled to javascript -- I receive no build errors. I have an RPC that would return a server-side created instance of such an object: module Remoting = [<Rpc>