Skip to content
Snippets Groups Projects
Unverified Commit c952c87c authored by Braden Shepherdson's avatar Braden Shepherdson Committed by GitHub
Browse files

Add serialization hierarchy, serialize Database, Table and Field (#23622)

Serialization of Databases, Tables, Fields

This brought a few core changes:
- Add `serdes-entity-id` to abstract the field used for the ID
- Pass the options to `extract-one` so it can eg. do encryption things.
- Handle dates in YAML storage and ingestion
- `:serdes/meta` now holds the entire hierarchy, not just the leaf model+ID pair.

There's an open problem here about the right way to handle secrets like
a database's password. Do we assume both sides have the same
`MB_ENCRYPTION_SECRET_KEY`? Provide a serdes-specific password the user
just made up, and every secret gets decrypted with the source key, encrypted with
the serdes key, stored, decrypted with the serdes key, and encrypted with
the destination key?
parent 47a8741b
No related branches found
No related tags found
No related merge requests found
Showing
with 613 additions and 244 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment