Skip to content

Commit 306136d

Browse files
dmealingclaude
andcommitted
docs(ports): neither the C# nor the Python port has an eject verb
The stale-reference sweep replaced two "ships in the default generator suite" claims with "use `dotnet meta eject names`" and "use `meta eject names`". Both name a command that does not exist: `eject` is the Node `meta` CLI's, and per ADR-0015 the C# CLI is `gen`/`verify` only while the Python console-script is the same pair. A reader following either line gets an unknown-command error. They also conflated two different things. Ejecting is about OWNING a generator's source (ADR-0034); it is not how a run selects one. Both ports select with `--generators <csv>`, which is what these sections now say — and each names its own `--list` as the catalog, so the next question has an answer in the same sentence. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011cQxyVuTkdPmAduLiedNEg
1 parent bf6e3a4 commit 306136d

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎docs/ports/csharp.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ The codegen emits:
108108

109109
### `<Entity>Names` — the physical names, as constants
110110

111-
`names` is opt-in — use `dotnet meta eject names` or wire it via `--generators` on the command line.
112-
When selected, a project gets `<Entity>Names.g.cs`. It carries the physical
111+
`names` is opt-in — select it with `--generators names` on `dotnet meta gen`
112+
(`dotnet meta gen --list` names the whole catalog). This port ships no `eject`
113+
verb — ejecting belongs to the Node `meta` CLI, and it is about OWNING a
114+
generator's source, never about selecting one for a run. When selected, a project gets
115+
`<Entity>Names.g.cs`. It carries the physical
113116
database names for one object as `const string`s:
114117

115118
```csharp

‎docs/ports/python.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,11 @@ app.dependency_overrides[get_repository] = lambda: SqlAlchemyAuthorRepository(se
199199

200200
### `<entity>_names.py` — the physical names, as constants
201201

202-
The `names` generator is opt-in — use `meta eject names` or wire it via `generators` in your
203-
config. When selected, a project gets `<entity>_names.py`. The module
202+
The `names` generator is opt-in — select it with `--generators names` on
203+
`metaobjects gen` (`--list` names the whole catalog). The Python console-script
204+
has no `eject` verb: ejecting is the Node `meta` CLI's, and it is about OWNING a
205+
generator's source, never about selecting one for a run. When selected, a project
206+
gets `<entity>_names.py`. The module
204207
mirrors the metadata that declared it: every node it describes — the object,
205208
each `source.rdb` child, each `identity.*` and `index.*` child — carries its
206209
own `_TYPE`, `_SUB_TYPE` and `_NAME`, and a source's physical name sits under

0 commit comments

Comments
 (0)