First, this looks amazing. I'm only having trouble with the tight coupling of RPC client and server and was hoping to get some feedback on why an RPC implementation would be a better approach. I'll give a simple example:
Android Slot Game with Tokens and Spin server.
Server provides token balance and spin results.
Does every release of of a new server in this case require a release of a new client? Does protocol buffers give this capability to gRPC? Is there any downsides to these types of issues to gRPC?
I see the added benefit of RPC over a REST api (chat feature?).
Additional question:
Because the model is generated from a schema they can't contain an interface for behaviors? Should I be separating the behaviors from the model anyways?
e.g.,
IMatcher :
bool Match(...)
IPaylineMatcher : IMatcher
int getSymbol;
void setSymbol
PaylineMatcher : IPaylineMatcher
//imp
IWaysMatcher : IMatcher
int getSymbol;
void setSymbol
//...
WaysMatcher : IWaysMatcher
This example is simple to implement with polymorphic json.
Thanks,
Bourke