Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid types in RPC signature does not fail at compile time #989
Whenever using a class that is not appropriate for RPC argument or result (for example it is a delegate or a class with no default constructor), no compiler error is given, only at server runtime, when RPC handler tries to deserialize an object. RPC result is also too allowing, for example an F# function object is allowed to be returned, but will be seen on the client as an empty JS object (failing to be called at client runtime).