Skip to content
Snippets Groups Projects
  • Braden Shepherdson's avatar
    c952c87c
    Add serialization hierarchy, serialize Database, Table and Field (#23622) · c952c87c
    Braden Shepherdson authored
    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?
    Add serialization hierarchy, serialize Database, Table and Field (#23622)
    Braden Shepherdson authored
    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?
Code owners
Assign users and groups as approvers for specific file changes. Learn more.