Skip to content

Blog

Avoiding ORM Decorators

Entity-based ORMs, going back to Java's Hibernate & earlier, often use decorators or annotations like @PrimaryKey to define the domain model; Joist pushes back on this pattern, and prefers schema-driven code generation.