Skip to content
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

[document_database] store metadata fields in a list object for easy reference #132

Closed
signebedi opened this issue Mar 30, 2024 · 1 comment

Comments

@signebedi
Copy link
Owner

I think we can initialize the metadata fields in their own method and then assign these on return to a self.metadata_fields object, which we can then use for quick checks.

@signebedi
Copy link
Owner Author

What we COULD do as a result of this change is insist that none of the field names are the same as any of these fields. This would in theory allow us to reconstruct document data in a less hierarchical way. But, I think that keeping the "data" and "metadata" subunits of a document is the superior method that is just a little more verbose and slightly (but not impossibly) harder to unpack... besides, signatures work perfectly when we are just signing the "data" and allowing the metadata to change....

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

No branches or pull requests

1 participant