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
Please provide an overload of attach that allows me to:
Specify the object being attached to
Provide the type of the object being attached to.
The reason I want to specify the type is as follows:
Currently I have an Object that I want to expose. I only want to expose certain members of the object and those members are defined in an interface. The interface is fully compatible with Json RPC. The implementation of my interface is not because it contains incompatible events.
I believe that if I could attach and specify a type, I could constrain the generated proxy to the members of the interface.
The text was updated successfully, but these errors were encountered:
AArnott
changed the title
New attach overload
Missing JsonRpc method to expose only members of a given interface from a given RPC target object
Aug 10, 2020
Please provide an overload of attach that allows me to:
The reason I want to specify the type is as follows:
Currently I have an Object that I want to expose. I only want to expose certain members of the object and those members are defined in an interface. The interface is fully compatible with Json RPC. The implementation of my interface is not because it contains incompatible events.
I believe that if I could attach and specify a type, I could constrain the generated proxy to the members of the interface.
The text was updated successfully, but these errors were encountered: