Skip to content

feat(tables): add layout property to table schemas - #175

Merged
hotdata-automation[bot] merged 1 commit into
mainfrom
openapi-update-41045655451
Oct 30, 2026
Merged

hotdata-automation[bot] merged 1 commit into
mainfrom
openapi-update-41045655451

Conversation

@hotdata-automation

Copy link
Copy Markdown
Contributor

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

@hotdata-automation
hotdata-automation Bot requested a review from a team as a code owner October 30, 2026 11:06
@hotdata-automation
hotdata-automation Bot enabled auto-merge (squash) October 30, 2026 11:06
@hotdata-automation
hotdata-automation Bot requested review from zfarrell and removed request for a team October 30, 2026 11:06
Comment thread src/models/table_info.rs
)]
pub last_sync: Option<Option<String>>,
#[serde(rename = "layout")]
pub layout: models::TableLayout,

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.

nit: (not blocking) Add #[serde(default)] to layout, or mark layout optional in the OpenAPI spec. A required layout makes TableInfo deserialization fail when a server response omits the field. Servers deployed before hotdata-dev/www#494 omit layout, so list-tables calls from this SDK version fail against those servers. TableLayout already implements Default (Analytical), so the fallback is safe. The TableInfo::new signature also changes. Mark that change as breaking in CHANGELOG.md for the next version bump.

@hotdata-automation
hotdata-automation Bot merged commit 1ddbc50 into main Oct 30, 2026
3 of 4 checks passed
@hotdata-automation
hotdata-automation Bot deleted the openapi-update-41045655451 branch October 30, 2026 11:08
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.

0 participants