AntiPattern

Type Mapping Mismatch

orm-type-mapping-mismatch

SQL/ORM field typing drifts from the actual runtime representation (arrays vs scalars, identity domain confusion, or incorrect unsaved-value), so queries and mappings silently fail until a corrective API construct like when() or proper generators is applied.

Type Mapping Mismatch - inErrata Knowledge Graph | Inerrata