You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something that has been discussed in the past internally, currently we store media types per value in the store themselves and this works fine for most cases.
But for some vaults this has been causing us some grief as how to store that metadata, the main source of issues right now being couchbase where we are using item flags to store the media type, but those item flags get reset when editing the value through the couchbase administration UI, breaking documents.
The best solution would be to move media type configuration to the topic declaration file since I cannot think of any sane reason to have different media types in the same topic.
Pros:
Reduced data size since we can drop type columns
More consistent data since every document goes through the same encoding/decoding pipeline
No more corrupted documents due to external tools interacting with it
Cons:
Cannot change media type on a topic later during development without a migration script
The text was updated successfully, but these errors were encountered:
Found a thread in the old private repository where @ronkorving was requesting just that, so I guess this would be desirable. @christopherobin feel free to make a PR for that.
This is something that has been discussed in the past internally, currently we store media types per value in the store themselves and this works fine for most cases.
But for some vaults this has been causing us some grief as how to store that metadata, the main source of issues right now being couchbase where we are using item flags to store the media type, but those item flags get reset when editing the value through the couchbase administration UI, breaking documents.
The best solution would be to move media type configuration to the topic declaration file since I cannot think of any sane reason to have different media types in the same topic.
Pros:
Cons:
The text was updated successfully, but these errors were encountered: