You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b67aba
Browse filesBrowse the repository at this point in the historyBrowse files
fix: close adopter defects for 1.2.0 across Python routers, filter query strings, and docs-site assets (#507)
* fix: Python router mypy --strict, withCount client flag, docs-site assetBase, and verify/entity doc corrections
Python generated routers pass mypy --strict (Protocol list alias, Response-typed
delete, typed M:N rows); buildFilterQs sends withCount=1; metaobjects agent-docs
help and flags match its redirect; docsSiteFile takes assetBase; per-port verify
tables, the README capability matrix and the C#/Python entity samples are corrected.
* no-mistakes(review): Keep hidden ignored agent-docs flags; fix skill docs
* docs: say in the @formExclude registry description that generated write routes ignore the field
Since #484 the generated create, PATCH and PUT routes drop a value sent for a
@formExclude field and reads are unchanged; the description said only that the field
is omitted from generated forms. Same sentence in the spec, the TypeScript, Python and
C# registry sources, expected-registry.json, the metamodel-docs fixture and the
reference site (regenerated).
* no-mistakes(review): Regenerate showcase Python router
* no-mistakes(review): Correct per-port bare verify docs for C#
* no-mistakes(document): Docs current; fixed C#/Python nested-object wording in field-types.md
| Payload-VO codegen (the value object's own type, ADR-0056) | Yes (`entityFile()`) | Yes (`SpringValueObjectGenerator`) | Yes (`KotlinEntityGenerator`) | Yes (`EntityGenerator`) | Yes (`entity`) |
181
181
| Migration emission |`meta migrate` (Postgres / SQLite / D1) | Via TS toolchain (`@metaobjectsdev/cli migrate`) | Via TS toolchain (`@metaobjectsdev/cli migrate`) | Via TS toolchain (ADR-0015) | Via TS toolchain (ADR-0015) |
182
-
| DB-drift verify |`meta verify --db <url>`| Template-drift: `Verify.check`; schema-drift is TS-owned (ADR-0015) | Template-drift: `Verify.check`; startup: `MetadataStartupValidator`|`dotnet meta verify` (codegen-drift) | Schema-drift is TS-owned (ADR-0015) |
182
+
| DB-drift verify |`meta verify --db <url>`| Through the TypeScript CLI (ADR-0015) | Through the TypeScript CLI (ADR-0015) | Through the TypeScript CLI (ADR-0015) | Through the TypeScript CLI (ADR-0015) |
| Prisma schema (`orm: "prisma"`, #479) |`prismaSchemaFile()` writes `schema.prisma` (Postgres / MySQL / SQLite); `verify --codegen` and `verify --db` gate it | No | No | No | No |
| Reporting vocabulary (`dimension` / `measure` / `segment` / `object.report`, FR-044) | Registered; a view-backed report becomes a SQL view in `meta migrate`, is read by `ObjectManager`, and gets generated read-only list routes and a TanStack list hook (no grid or form); the `cube-model` generator writes the vocabulary as Cube data-model files | Registered; OMDB reads a view-backed report; generates a read-only Spring controller, DTO, repository and filter allowlist | Registered (via Java); generates an Exposed table object, a row data class, a filter allowlist and a read-only Spring controller per view-backed report | Registered; generates a keyless EF Core row type, read-only routes and a filter allowlist per view-backed report | Registered; `ObjectManager` reads a view-backed report; generates a Pydantic row model, a read-only FastAPI router and a filter allowlist |
@@ -241,7 +242,7 @@ sixth ships two libraries at their own stability labels:
241
242
[Write your own generator](docs/recipes/write-your-own-generator.md) has every port's
242
243
20-line shape plus JSON Schema and OpenAPI examples to copy. The reference generators
243
244
(Drizzle/Zod + Fastify for TS, Spring REST + DTO + repository for Java, `data class` +
244
-
Exposed for Kotlin, EF Core record + ASP.NET routes for C#, Pydantic + FastAPI for
245
+
Exposed for Kotlin, EF Core entity class + ASP.NET routes for C#, Pydantic + FastAPI for
245
246
Python) are starting points: run one as shipped when it already emits what you want, or
246
247
eject the one that is close, change it, and regenerate.
247
248
The engine that runs generators is core; their output is yours.
0 commit comments