go-res
go-res copied to clipboard
Serialisation
Would it be possible to use protobuf in addition to json.
nats as inherent support for protocol buffers .
Looks like an amazingly simple and clean system btw - well done
I am working on hooking up mongodb so that a change in mongodb ripples through resgate.
the protocol I used is based on protobufs but I can convert to json on the fly .
I am just worried that is a field / renamed is added in mongodb the end clients will break ? Renaming especially ..
This does help in terms of architectural changes to the protocol .
https://github.com/jirenius/go-res/blob/d5ebd39d18478c3ccdbc25033c189ca7abd59e0d/service.go#L18
am more worried about data schema changes from source db. Is there s concept of this in go-res ?