chore(deps): bump hero_rpc to b5b0709 — schema-merge + $ref CRUD results #55

Open
timur wants to merge 1 commit from chore/bump-hero-rpc-b5b0709 into development
Owner

Picks up hero_rpc 523fad5..b5b0709. The new unified_server::build_openrpc_spec starts from the static A::openrpc_spec() (rich components.schemas) and appends auto-generated CRUD methods, with each *_get/*_set referencing 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 typed Opportunity dataclass — was dict.

All changes are in Cargo.lock only. Build + restart shows:

  • /openrpc.json now exposes 62 schemas (was 0)
  • opportunity.get result.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. The new `unified_server::build_openrpc_spec` starts from the static `A::openrpc_spec()` (rich `components.schemas`) and appends auto-generated CRUD methods, with each `*_get`/`*_set` referencing 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 typed `Opportunity` dataclass — was `dict`. All changes are in `Cargo.lock` only. Build + restart shows: - `/openrpc.json` now exposes 62 schemas (was 0) - `opportunity.get` result.schema = `$ref Opportunity` (was OTOML-format string) Depends on hero_router PR landing first so generated clients pick up the new dataclass-emitting codegen.
chore(deps): bump hero_rpc to b5b0709d (schema-merge + $ref CRUD results)
Some checks failed
Build and Test / build (pull_request) Successful in 6m28s
Build and Test / build (push) Successful in 7m42s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (push) Failing after 4s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (pull_request) Failing after 2s
ae2d6ecf03
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>
timur force-pushed chore/bump-hero-rpc-b5b0709 from ae2d6ecf03
Some checks failed
Build and Test / build (pull_request) Successful in 6m28s
Build and Test / build (push) Successful in 7m42s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (push) Failing after 4s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (pull_request) Failing after 2s
to ddb0c66825
Some checks failed
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (push) Failing after 3s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (pull_request) Failing after 10s
Build and Test / build (pull_request) Successful in 6m38s
Build and Test / build (push) Successful in 6m31s
2026-05-11 11:10:20 +00:00
Compare
Some checks failed
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (push) Failing after 3s
Build Linux / build-linux (x86_64-unknown-linux-musl, false, x86_64-unknown-linux-musl) (pull_request) Failing after 10s
Build and Test / build (pull_request) Successful in 6m38s
Build and Test / build (push) Successful in 6m31s
This pull request has changes conflicting with the target branch.
  • Cargo.lock
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin chore/bump-hero-rpc-b5b0709:chore/bump-hero-rpc-b5b0709
git switch chore/bump-hero-rpc-b5b0709

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.

git switch development
git merge --no-ff chore/bump-hero-rpc-b5b0709
git switch chore/bump-hero-rpc-b5b0709
git rebase development
git switch development
git merge --ff-only chore/bump-hero-rpc-b5b0709
git switch chore/bump-hero-rpc-b5b0709
git rebase development
git switch development
git merge --no-ff chore/bump-hero-rpc-b5b0709
git switch development
git merge --squash chore/bump-hero-rpc-b5b0709
git switch development
git merge --ff-only chore/bump-hero-rpc-b5b0709
git switch development
git merge chore/bump-hero-rpc-b5b0709
git push origin development
Sign in to join this conversation.
No reviewers
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!55
No description provided.