Open mattnichols opened 8 years ago
Making the RPC adapter pluggable has been the intention (in fact, it's the reason the RPC adapter class exists), but since we only have a need for the Protobuf adapter , the rest of the work to support it has not been completed. I'd :heart: a PR.
I propose adding the following to the README and implementing the adapter described:
RPC Adapter
An RPC Adapter is responsible for gathering the attributes from your model and marshalling them to the RPC call. Marshalling behaviors can be injected or modified at this point. The default RPC adapter is ::ActiveRemote::RPCAdapters::ProtobufAdapter. You can, of course override it if need be:
@liveh2o @brianstien