Skip to content

Cleanup how dynamic schemas work #634

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

Merged
merged 2 commits into from
Apr 8, 2025
Merged

Cleanup how dynamic schemas work #634

merged 2 commits into from
Apr 8, 2025

Conversation

mtdowling
Copy link
Member

Rather than make WrappedDocument and SchemaGuidedDocumentBuilder support all kinds of shape types, they now just support structure and document. This cleans up the handling of document and nested members so that nested structures don't have to be re-parsed each time we need to serialize them. It's also easier to figure out how the code works.

Various bugs were fixed along the way and more test coverage was added.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

mtdowling and others added 2 commits April 8, 2025 13:04
Rather than make WrappedDocument and SchemaGuidedDocumentBuilder
support all kinds of shape types, they now just support structure and
document. This cleans up the handling of document and nested members
so that nested structures don't have to be re-parsed each time we need
to serialize them. It's also easier to figure out how the code works.

Various bugs were fixed along the way and more test coverage was
added.
@adwsingh adwsingh force-pushed the dynamic-schemas-cleanup branch from ee24145 to 65bb6e7 Compare April 8, 2025 20:07
@mtdowling mtdowling merged commit 31284f9 into main Apr 8, 2025
3 checks passed
@mtdowling mtdowling deleted the dynamic-schemas-cleanup branch April 8, 2025 21:06
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

Successfully merging this pull request may close these issues.

2 participants