Skip to content

Document typed ORM fields and ModelField deprecation - #69

Merged
tmgbedu merged 3 commits into
mainfrom
docs/typed-orm-fields
Sep 13, 2026
Merged

Document typed ORM fields and ModelField deprecation#69
tmgbedu merged 3 commits into
mainfrom
docs/typed-orm-fields

Conversation

@tmgbedu

@tmgbedu tmgbedu commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Document Field[T]() declarations, default type inference, and nested Pydantic models using Field[Address](). Preserve guidance for annotation-only models and the legacy ModelField API, which remains supported with removal scheduled for 2.x.

Replace the outdated nested-model Attribute example with Pydantic BaseModel and explain the base model's dataclass-transform metadata.

Companion implementation: fastapi-startkit/fastapi-startkit-framework#224

Validation: npm run docs:build and git diff --check passed. The site build included the existing local edits to other documentation pages; those edits are not part of this PR.

@tmgbedu
tmgbedu merged commit 10c22cc into main Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant