chore(deps): bump hero_rpc to b5b0709 — schema-merge + $ref CRUD results #55
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_osis!55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/bump-hero-rpc-b5b0709"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Picks up hero_rpc 523fad5..b5b0709. The new
unified_server::build_openrpc_specstarts from the staticA::openrpc_spec()(richcomponents.schemas) and appends auto-generated CRUD methods, with each*_get/*_setreferencing the proper schema via $ref. Combined with hero_router e7f902e (python_codegen emits @dataclass per schema),client.opportunity_get(sid)in the generated Python client now returns a typedOpportunitydataclass — wasdict.All changes are in
Cargo.lockonly. Build + restart shows:/openrpc.jsonnow exposes 62 schemas (was 0)opportunity.getresult.schema =$ref Opportunity(was OTOML-format string)Depends on hero_router PR landing first so generated clients pick up the new dataclass-emitting codegen.
Picks up hero_rpc 523fad5..b5b0709 — `unified_server::build_openrpc_spec` now starts from the static `A::openrpc_spec()` (carrying the rich `components.schemas`) and appends auto-generated CRUD methods on top, with each `*_get`/`*_set` referencing the proper schema via `$ref: #/components/schemas/<TypeName>` (PascalCase lookup). Effect on every per-domain socket: - `/openrpc.json` now exposes 62 schemas (was 0) - `opportunity.get` result.schema = `$ref Opportunity` (was `{type:string, description:"OTOML format"}`) - `opportunity.list` result.schema = `{type:array, items:{type:string}}` (was `{type:string, description:"newline-separated"}`) Combined with hero_router e7f902e (python_codegen emits `@dataclass` per schema and wraps `*_get` results), `client.opportunity_get(sid)` in the generated Python client now returns a typed `Opportunity` dataclass instance. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>ae2d6ecf03ddb0c66825View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.