Write strict definition for the documents we store in the db.
Hypercore accepts anything. We want to validate everything on the way out and in. (Eg. if we have stale or outdated data, we can either "throw it out" of transform it to usable data).
Things to possibly research:
JSON encoding.
Protocol Buffer
Sync-layer typebox
Write strict definition for the documents we store in the db.
Hypercore accepts anything. We want to validate everything on the way out and in. (Eg. if we have stale or outdated data, we can either "throw it out" of transform it to usable data).
Things to possibly research: JSON encoding. Protocol Buffer Sync-layer typebox
Points: 13points