Announcing Schema Validation (private beta) #674
Replies: 3 comments 1 reply
-
I see on the home page it says Schema Validation is only available for Enterprise users (also webhooks). Does this mean that once Schema Validation comes out of beta it will only be available for enterprise users? If so, what would the pricing look like for the enterprise plan? |
Beta Was this translation helpful? Give feedback.
-
I will add my requests and desired workflows here, I know I already shared these over a call but I am adding them here for posterity: CI/CD Integration This CI/CD tool will also need to take the environment the schema is being built for (see more below). The real kicker here is then a schema for room "metadata" to guarantee that all of our rooms have the appropriate metadata on creation instead of relying on room names with delimiters. We will always want every room we have to have the workspaceID, the room type, and if the room is archived or not (soft delete). Lastly, it would be nice if the CI/CD tool (it could be a github app tbh, but i'm biassed cuz we use gh actions) would also have a verification phase so that when a schema is about to be updated the pipeline can output a message in our slack and ping the correct engineer for verification. We generally always try to talk about our schema changes before allowing them to be merged in. Ofc this is not super important since this is solvable with a short script. Schema Migrations To go further into that last point around metadata. We would really like to automate as much as possible, new rooms with specific metadata ("type": "Board") would automatically get assigned the Board schema at the latest version avail. Rollbacks Schema Env Discriminating Unions YupJS or Alt Validation Write Once Right now it feels like the schema system is not powerful enough to support the processes we want so I am being apprehensive about adding them. However i'm sure its only going to improve and eventually become an indispensable part of working with Liveblocks. |
Beta Was this translation helpful? Give feedback.
-
Schema validation is great, thank you! We would most definitely appreciate a schema migration feature. We've experimented with migration scripts, but with so many rooms in production, it would take several hours to complete a single migration, making it a rather tenuous solution. Anything that we could do in a shorter amount of time would be extremely valuable. |
Beta Was this translation helpful? Give feedback.
-
We are excited to announce our newest feature: Schema Validation (in private beta)! By defining a schema for your data, we’ll automatically validate all storage mutations in your Liveblocks rooms against your schema, ensuring data consistency, and reducing the risk of errors.
You can now sign up for our private beta waitlist. As a beta user, you will have the opportunity to test drive the feature and provide valuable feedback to help shape its development.
Also, feel free to leave a comment below if you have any questions or feedback for us—we’re listening! 🙏
Beta Was this translation helpful? Give feedback.
All reactions