Possibility to add custom attributes/metadata/tags to fields #568
jessedobbelaere
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It would be interesting if we can add a custom attribute (metadata) or tags to the fields in our Electrodb schema.
One example is a
pii: truetag, so the teams can flag specific PII columns directly in their nested DynamoDB schema.We can then collect the PII fields from the schema and pass them to other places, such as a DynamoDB unload job to S3 so it knows what fields to mask.
I had a look but could not find a way to make this work up until today with Electrodb. It would require a separate mapping object (dot notation) which is hard to make type safe on the field names, based on the actual schema.
Thoughts?
All reactions