Missing domain registrations: communication, media, job not available at runtime #10

Open
opened 2026-02-28 19:42:27 +00:00 by mik-tf · 0 comments
Owner

Problem

Three domains are not available at runtime in hero_osis_openrpc:

  1. communication — missing from all-domains feature in hero_osis_openrpc/Cargo.toml (present in core hero_osis but omitted from openrpc server)
  2. media — module exists in src/media/ and lib.rs includes it, but main.rs has no registration block
  3. job — same as media: module exists but never registered in main.rs

All other 13 domains have proper feature flags and registration blocks.

Impact

WASM frontend gets "Domain not found" error when accessing communication or media features.

Fix

  • Add "communication" to all-domains in hero_osis_openrpc/Cargo.toml
  • Add #[cfg(feature = "media")] and #[cfg(feature = "job")] registration blocks in main.rs
  • Add production seed data (data/seed/) for default admin user
## Problem Three domains are not available at runtime in hero_osis_openrpc: 1. **communication** — missing from `all-domains` feature in `hero_osis_openrpc/Cargo.toml` (present in core `hero_osis` but omitted from openrpc server) 2. **media** — module exists in `src/media/` and lib.rs includes it, but `main.rs` has no registration block 3. **job** — same as media: module exists but never registered in `main.rs` All other 13 domains have proper feature flags and registration blocks. ## Impact WASM frontend gets "Domain not found" error when accessing communication or media features. ## Fix - Add `"communication"` to `all-domains` in `hero_osis_openrpc/Cargo.toml` - Add `#[cfg(feature = "media")]` and `#[cfg(feature = "job")]` registration blocks in `main.rs` - Add production seed data (`data/seed/`) for default admin user
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_osis#10
No description provided.