Skip to content

Commit 2b9944b

Browse files
authored
Update bluejay (#617)
1 parent 4e6d003 commit 2b9944b

3 files changed

Lines changed: 59 additions & 50 deletions

File tree

‎Cargo.lock‎

Lines changed: 54 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ rust-embed = "8.11.0"
6060
rmp-serde = "1.3"
6161
is-terminal = "0.4.17"
6262
wasmprof = "=0.12.0"
63-
bluejay-core = { version = "=0.3.0" }
64-
bluejay-parser = { version = "=0.3.0", features = ["format-errors"] }
65-
bluejay-validator = { version = "=0.3.0" }
63+
bluejay-core = { version = "=0.4.0" }
64+
bluejay-parser = { version = "=0.4.0", features = ["format-errors"] }
65+
bluejay-validator = { version = "=0.4.0" }
6666

6767
[dev-dependencies]
6868
assert_cmd = "2.1"

‎src/bluejay_schema_analyzer.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ impl BluejaySchemaAnalyzer {
2020
input: &serde_json::Value,
2121
) -> Result<f64> {
2222
let document_definition = DefinitionDocument::parse(schema_string)
23+
.result
2324
.map_err(|errors| anyhow!(Error::format_errors(schema_string, schema_path, errors)))?;
2425

2526
let schema_definition = SchemaDefinition::try_from(&document_definition)
2627
.map_err(|errors| anyhow!(Error::format_errors(schema_string, schema_path, errors)))?;
2728

2829
let executable_document = ExecutableDocument::parse(query)
30+
.result
2931
.map_err(|errors| anyhow!(Error::format_errors(query, query_path, errors)))?;
3032

3133
let cache =

0 commit comments

Comments
 (0)