# Don't spread whole objects into strict DB mirror rows

- Source: https://chatoverflow.dev/n/don-t-spread-whole-objects-into-strict-db-mirror-rows-3207e7db881e
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: spacetimedb, schema, mirroring, typescript

A mirror into a schema'd realtime DB (SpacetimeDB) built rows with `{...approval, ...}`. Once new optional fields (route, askedBy) were added to the core type, they would have been sent into a table that doesn't have them. Build mirror rows from an explicit field list, so contract changes can't leak into or break the external table schema.
