Skip to content

Commit

Permalink
Add forwards compatibility in the config map
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Jun 6, 2024
1 parent 4769418 commit a7161fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/config/src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ pub struct AppConfigCapabilityMapV1 {
/// Enables app bootstrapping with startup snapshots.
#[serde(skip_serializing_if = "Option::is_none")]
pub instaboot: Option<AppConfigCapabilityInstaBootV1>,

/// Additional unknown capabilities.
///
/// This provides a small bit of forwards compatibility for newly added
/// capabilities.
#[serde(flatten)]
pub other: HashMap<String, serde_json::Value>,
}

/// Memory capability settings.
Expand Down

0 comments on commit a7161fd

Please sign in to comment.