Skip to content

Commit

Permalink
return version in rpc result (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
do4gr committed May 18, 2020
1 parent 0b7f6a9 commit 86cf277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -56,6 +56,8 @@ pub struct IntrospectionResultOutput {
pub datamodel: String,
/// warnings
pub warnings: Vec<Warning>,
/// version
pub version: Version,
}

impl fmt::Display for IntrospectionResultOutput {
Expand Down
1 change: 1 addition & 0 deletions introspection-engine/core/src/rpc.rs
Expand Up @@ -93,6 +93,7 @@ impl RpcImpl {
)
.map_err(Error::from)?,
warnings: introspection_result.warnings,
version: introspection_result.version,
};

Ok(result)
Expand Down

0 comments on commit 86cf277

Please sign in to comment.