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
I suggest bond_over_grpc generates partial classes for clients (like protocol buffers), which allows adding properties/methods/interfaces to the clients.
public (partial) class FooClient : global::Grpc.Core.ClientBase<FooClient>
Currently a workaround is inheritance
public class MyFooClient : FooClient
The name of MyFooClient and its namespace are quite tricky.
The text was updated successfully, but these errors were encountered:
No real concerns from me. If we start to generate a name that clashes with a name used in a partial class, that will cause the customer code to fail to compile, but there's no good way around that, and inheritance has a similar problem. (Types already work this way, but they're less likely to churn.)
Is this something you want to contribute?
Update templates in Haskell
Re-generated golden files
Add unit test demonstrating & testing new behavior
I suggest bond_over_grpc generates partial classes for clients (like protocol buffers), which allows adding properties/methods/interfaces to the clients.
public (partial) class FooClient : global::Grpc.Core.ClientBase<FooClient>
Currently a workaround is inheritance
public class MyFooClient : FooClient
The name of
MyFooClient
and its namespace are quite tricky.The text was updated successfully, but these errors were encountered: