-
Notifications
You must be signed in to change notification settings - Fork 549
Shared Tree: In-memory format and API changes for persisted schema metadata #24759
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
Shared Tree: In-memory format and API changes for persisted schema metadata #24759
Conversation
- Added in-memory schema format v2. - Implemented the schema format v2 codec. - Updated test utils that previously assumed there was only one format. - Added snapshots for many of the v2 tests.
…ion as a parameter. - Fixed naming of schema index formats. - Changed schemaChangeFormat to be schema format-agnostic.
…formats. - Moved SchemaCodecVersion.
Co-authored-by: Craig Macomber (Microsoft) <42876482+CraigMacomber@users.noreply.github.com>
… we want something more intuitive (e.g., minimum client version). - Split the encode method for TreeNodeStoredSchema.
…luidFramework into metadata-schema-3
…cVersion. - Changed schema-stored/FormatV2 to only define the new elements. - Updated all instantiations of TreeFieldStoredSchema so that persistedMetadata is specified. - HACK: importCompressed needs to handle both schema formats. A few of the roundtrip JSON tests are failing.
Co-authored-by: Alex Villarreal <716334+alexvy86@users.noreply.github.com>
- Made importCompressed always use a v1 schema when encoding.
- Added better test data to one of the codec tests for the v2 schema format.
…added in another PR. - Updated a comment.
- Added tests calling schemaFactoryAlpha.
Including "Docs and PR description" in the list of changes in the PR description seems odd. Generally, though, the changes are looking pretty good. |
- Fixed an API annotation. - Lint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for API changes. Would probably be good to get another tree signoff as well for the changes in the codec layers.
Co-authored-by: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com>
…FluidFramework into metadata-in-memory
Yeah, I accidentally kept it when I transplanted my checklist. Removed. |
- Updated a doc comment.
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
Adds in-memory format and API changes for the persisted schema metadata feature.
Changes
persistedMetadata
associated with nodespersistedMetadata
associated with fieldsNotes for reviewers
Todo