Replies: 1 comment 2 replies
-
A single data object is not enough to generate a schema, you need the entire range of all possible data objects to create an efficient schema. You can create some auto gen function for your case but everyone's case is different so adding some auto gen function to the library is not good. You get the smallest size by designing schemas, not auto generating them. I should add more examples to the docs. For schema versions my apps work by on websocket first open schema is sent as JSON string to client, client loads schema, and all future messages are decoded with that schema. If schema changes you send new schema with Json text string, so there is no need to track versions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
what about autogenerating schema based on js object. With auto improving capabilities.
Beta Was this translation helpful? Give feedback.
All reactions