fix(osis): preserve typed FindParams wrapper through the dispatch hop #141
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_blueprint!141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-140-osis-find-extract-data"
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?
Summary
crates/osis/src/rpc/rpc2_adapter.rs::extract_dataadds"find"to the same arm as"new"/"set"— it now passes the whole params object through ({"ctx": null, "params": <FindParams-JSON>}from the typed SDK call) instead of extractingparams.query(the legacy text-search string that codegen no longer emits).extract_data_find_pulls_queryunit test withextract_data_find_preserves_typed_params_wrapper, pinning the new contract.Test plan
cargo test --features rpc --lib rpc2_adapter— all 9 unit tests pass, including the new wrapper-preservation test.fe8c78adwith this patch applied:cargo test --workspace --test indexed_multi_find_e2egoes from 0/7 to 6/7 green. The 7th (title_prefix) is fixed by the sibling hero_indexer#31 PR; with both patches in place every_find_*E2E test passes across the bench domain.indexed_multi_full_lifecycle,greeter_*) stay green — thenew/setextraction path is unchanged.lhumina_code/hero_rpc#140