Skip to content

Commit 811c904

Browse files
Upgrade graphql-parser to 0.4 version (#998)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ilya Solovyiov <[email protected]>
1 parent acde85a commit 811c904

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

juniper/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ chrono-tz = { version = "0.6", default-features = false, optional = true }
4242
fnv = "1.0.3"
4343
futures = { version = "0.3.1", features = ["alloc"], default-features = false }
4444
futures-enum = { version = "0.1.12", default-features = false }
45-
graphql-parser = { version = "0.3", optional = true }
45+
graphql-parser = { version = "0.4", optional = true }
4646
indexmap = { version = "1.0", features = ["serde-1"] }
4747
serde = { version = "1.0.8", features = ["derive"], default-features = false }
4848
serde_json = { version = "1.0.2", default-features = false, optional = true }

juniper/src/parser/tests/document.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
use crate::{
2-
ast::{
3-
Arguments, Definition, Field, InputValue, Operation, OperationType, OwnedDocument,
4-
Selection,
5-
},
2+
ast::{Arguments, Definition, Field, Operation, OperationType, OwnedDocument, Selection},
63
graphql_input_value,
74
parser::{document::parse_document_source, ParseError, SourcePosition, Spanning, Token},
85
schema::model::SchemaType,

juniper/src/schema/translate/graphql_parser.rs

+2
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ impl GraphQLParserTranslator {
190190
position: Pos::default(),
191191
description: x.description.as_ref().map(|s| From::from(s.as_str())),
192192
name: From::from(x.name.as_ref()),
193+
// TODO: Support this with GraphQL October 2021 Edition.
194+
implements_interfaces: vec![],
193195
directives: vec![],
194196
fields: x
195197
.fields

0 commit comments

Comments
 (0)