Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialisation #97

Open
gedw99 opened this issue Mar 30, 2023 · 2 comments
Open

Serialisation #97

gedw99 opened this issue Mar 30, 2023 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Mar 30, 2023

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
Copy link
Author

gedw99 commented Mar 30, 2023

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
Copy link
Author

gedw99 commented Mar 30, 2023

This does help in terms of architectural changes to the protocol .

const protocolVersion = "1.2.2"

am more worried about data schema changes from source db. Is there s concept of this in go-res ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant