Replies: 1 comment 1 reply
-
Well, if you just add JSON schema fields it should not be a problem. Otherwise, there is a versioning system available: https://github.com/lerenn/asyncapi-codegen?tab=readme-ov-file#versioning. Also I'm not against implementing Protobuf into this project, but I'll clearly won't have the time for that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With an async system you want old data to be handles gracefully. A client could be catching up after a long time offline for example.
What happens when a client gets a payload with old data schema ?
I am used to Protocol Buffers where if a client get data that conforms to an old schema it can parse it as long as the fields ar not renamed or deleted, and new fields will be automatically made into Default values.
Hopefully you know what I mean....
Beta Was this translation helpful? Give feedback.
All reactions