hero_books_client binary does not compile — stale types after schema regeneration #72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
src/bin/books.rs(thehero_books_clientCLI binary) references types and fields that no longer exist after recent OSchema regeneration:ImportserviceStartInput,ImportserviceGetLogInput,ImportserviceListNamespacesInput— not foundCollectionsScanOutput.collections,.errors,.warnings— fields removed/renamedCollectionsProcessOutput.collection,.processed,.unchanged,.errors— fields removed/renamedThis causes
cargo build -p hero_booksto fail with 32 errors, which breaks the Docker build in hero_services.Fix
Update
src/bin/books.rsto use the current generated types, or temporarily disable the[[bin]]target inCargo.tomluntil the client is updated.