go-res icon indicating copy to clipboard operation
go-res copied to clipboard

Serialisation

Open gedw99 opened this issue 1 year ago • 2 comments

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

gedw99 avatar Mar 30 '23 16:03 gedw99

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 ..

gedw99 avatar Mar 30 '23 16:03 gedw99

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 ?

gedw99 avatar Mar 30 '23 17:03 gedw99