Skip to content

Relations support (belongs_to, has_many) #7

@RAprogramm

Description

@RAprogramm

Problem

Entities exist in isolation. Real data models have relationships:

  • User has many Posts
  • Post belongs to User
  • Order has many OrderItems

Currently users must write all join logic manually.

Why it matters

Acceptance criteria

  • Declare relations via attributes
  • Generate join methods in repository
  • Type-safe relation traversal
  • No eager loading magic (explicit only)

Scope limitation

First version: simple belongs_to/has_many without nested loading.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions