Skip to content

Commit 84d92c6

Browse files
authored
Merge pull request #89 from AdaWorldAPI/claude/redmine-plan-fixup
docs(plan): codex P2 fixup — point W0.2 at the real emitter
2 parents 4d3a365 + 0c70633 commit 84d92c6

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎docs/integration/REDMINE-INTEGRATION-PLAN.md‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,17 @@ parallel after this lands.
7878
- New crate `redmine-rs/crates/rm-store`.
7979
- Connect to SurrealDB (in-memory for dev, file-backed for prod).
8080
- Apply the schema emitted by
81-
`op_codegen_projection::render_classes_schema(&ogar_canonical_classes())`
82-
at startup. (The schema generator is already a sibling crate; we just
83-
drive it.)
81+
[`ogar_adapter_surrealql::emit_surrealql_ddl(&[Class])`](../../crates/ogar-adapter-surrealql/src/lib.rs)
82+
at startup — the existing exported emitter in OGAR, hand-written
83+
formatter, round-trip-pinned.
84+
- **Prerequisite (OGAR-side, ~1 day, blocks W0.2):** add
85+
`pub fn all_promoted_classes() -> Vec<Class>` to `ogar-vocab` that
86+
returns every promoted class fn's output (`project()`,
87+
`project_work_item()`, …) in `class_ids::ALL` order. Today the 26
88+
project-arm `Class` constructors exist but aren't enumerable as a
89+
slice; `rm-store` needs one call site to drive `emit_surrealql_ddl`.
90+
Sibling alternative if the enumerator slips: hand-list the calls in
91+
`rm-store` and pin order via a `class_ids::ALL`-walking test.
8492
- `CRUD<T>` trait: `find_one`, `find_all`, `find_by_filter`, `insert`,
8593
`update`, `delete`. Generic over a `T: PortSpec`-derived row type.
8694
- Seed fixture: at minimum 3 Projects, 10 Issues, 5 TimeEntries —

0 commit comments

Comments
 (0)