Summary
Database.activated is named incorrectly. With #[serde(rename_all = "camelCase")] it serializes as activated, but the API returns activatedOn. The field silently deserializes to None on every response.
Expected behavior
The activation timestamp from the Cloud API is preserved on the typed Database model.
Actual behavior
src/flexible/databases.rs:928: pub activated: Option<String> → wire key activated
- API actually returns
activatedOn (a format: date-time string)
- Result: silently dropped on every list/get response.
Impact
Any caller using database.activated for ordering, filtering, age computation, or display sees None for every database. No error is surfaced.
Relevant code
Suggested fix
Either rename the field or add a serde rename:
```rust
#[serde(rename = "activatedOn")]
pub activated_on: Option,
```
Consider whether to use chrono::DateTime<Utc> or time::OffsetDateTime here for type-safe handling of format: date-time. If keeping String for now, document it in the field doc.
Acceptance criteria
References
Summary
Database.activatedis named incorrectly. With#[serde(rename_all = "camelCase")]it serializes asactivated, but the API returnsactivatedOn. The field silently deserializes toNoneon every response.Expected behavior
The activation timestamp from the Cloud API is preserved on the typed
Databasemodel.Actual behavior
src/flexible/databases.rs:928:pub activated: Option<String>→ wire keyactivatedactivatedOn(aformat: date-timestring)Impact
Any caller using
database.activatedfor ordering, filtering, age computation, or display seesNonefor every database. No error is surfaced.Relevant code
src/flexible/databases.rs:928tests/fixtures/cloud_openapi.json—Databaseschema, propertyactivatedOn(format: date-time)Databaserow in the deltas tracking tableSuggested fix
Either rename the field or add a serde rename:
```rust
#[serde(rename = "activatedOn")]
pub activated_on: Option,
```
Consider whether to use
chrono::DateTime<Utc>ortime::OffsetDateTimehere for type-safe handling offormat: date-time. If keepingStringfor now, document it in the field doc.Acceptance criteria
activatedOnactivatedOnReferences