Skip to content

feat(databases): add search parameter to list endpoint - #101

Merged
anoop-narang merged 2 commits into
mainfrom
openapi-update-30073033422
Jul 24, 2026
Merged

feat(databases): add search parameter to list endpoint#101
anoop-narang merged 2 commits into
mainfrom
openapi-update-30073033422

Conversation

@hotdata-automation

Copy link
Copy Markdown
Contributor

Auto-generated from the updated HotData OpenAPI spec.
Source: https://github.com/hotdata-dev/www.hotdata.dev/pull/278

@hotdata-automation
hotdata-automation Bot requested a review from a team as a code owner July 24, 2026 06:42
@hotdata-automation
hotdata-automation Bot requested review from eddietejeda and removed request for a team July 24, 2026 06:42
Comment thread src/apis/databases_api.rs

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Blocking Issues

  • The regenerated list_databases in src/apis/databases_api.rs now takes a 4th positional parameter (search), but the hand-written wrapper and tests still call it with 3 arguments, so the crate no longer compiles:

    • src/resources.rs:264 (Databases::list)
    • tests/common/mod.rs:187
    • tests/databases_lifecycle.rs:26

    Rust has no default arguments, so each is a hard compile error.

Action Required

  • Regenerate/update src/resources.rs so Databases::list forwards the new search parameter to list_databases.
  • Update the test call sites (tests/common/mod.rs, tests/databases_lifecycle.rs) to pass the additional search argument.
  • Verify cargo build and cargo test pass before merge.

Codegen added the search parameter to the generated list_databases, but
the hand-written Databases::list wrapper and its callers still used the
old arity, breaking the build (E0061). Thread search through the wrapper
and update the example/test call sites.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cycle 1 blocking issue resolved: the search parameter is now forwarded through the Databases::list wrapper (src/resources.rs) and all call sites (examples/quickstart.rs, tests/common/mod.rs, tests/databases_lifecycle.rs) pass the extra argument. Signatures are consistent.

@anoop-narang
anoop-narang merged commit 927af70 into main Jul 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant