Wrap extension schema version in a newtype (#9872)
This PR wraps the extension schema version in a newtype, for some additional type safety. Release Notes: - N/A
This commit is contained in:
parent
8c56a4b305
commit
3f5f64a044
4 changed files with 22 additions and 10 deletions
|
@ -95,7 +95,7 @@ async fn main() -> Result<()> {
|
|||
version: manifest.version,
|
||||
description: manifest.description,
|
||||
authors: manifest.authors,
|
||||
schema_version: Some(manifest.schema_version),
|
||||
schema_version: Some(manifest.schema_version.0),
|
||||
repository: manifest
|
||||
.repository
|
||||
.ok_or_else(|| anyhow!("missing repository in extension manifest"))?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue