Skip to content

Property anti-patterns

Properties are easy to add, which makes them one of the easiest places to introduce semantic debt.

Anti-patterns

Anti-patternWhy it hurtsBetter alternative
using strings for everythingloses validation and meaningchoose precise property types
encoding links in text fieldsblocks graph-aware workflowsuse link types or supporting objects
overusing required fieldsmakes ingestion and migration brittlerequire only true invariants
ambiguous metric namesbreaks analytics consistencyuse domain language plus clear units
putting workflow state in many duplicated fieldscauses semantic driftcentralize state semantics deliberately

Design rule of thumb

If a field affects search, workflows, permissions, reports, or UI behavior, treat it as semantic product design, not just schema plumbing.

Released under the Apache 2.0 License.