Upgrade graphql-parser
to 0.4 version (#998)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ilya Solovyiov <ilya.solovyiov@gmail.com>
This commit is contained in:
parent
acde85a814
commit
811c90486d
3 changed files with 4 additions and 5 deletions
|
@ -42,7 +42,7 @@ chrono-tz = { version = "0.6", default-features = false, optional = true }
|
|||
fnv = "1.0.3"
|
||||
futures = { version = "0.3.1", features = ["alloc"], default-features = false }
|
||||
futures-enum = { version = "0.1.12", default-features = false }
|
||||
graphql-parser = { version = "0.3", optional = true }
|
||||
graphql-parser = { version = "0.4", optional = true }
|
||||
indexmap = { version = "1.0", features = ["serde-1"] }
|
||||
serde = { version = "1.0.8", features = ["derive"], default-features = false }
|
||||
serde_json = { version = "1.0.2", default-features = false, optional = true }
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
use crate::{
|
||||
ast::{
|
||||
Arguments, Definition, Field, InputValue, Operation, OperationType, OwnedDocument,
|
||||
Selection,
|
||||
},
|
||||
ast::{Arguments, Definition, Field, Operation, OperationType, OwnedDocument, Selection},
|
||||
graphql_input_value,
|
||||
parser::{document::parse_document_source, ParseError, SourcePosition, Spanning, Token},
|
||||
schema::model::SchemaType,
|
||||
|
|
|
@ -190,6 +190,8 @@ impl GraphQLParserTranslator {
|
|||
position: Pos::default(),
|
||||
description: x.description.as_ref().map(|s| From::from(s.as_str())),
|
||||
name: From::from(x.name.as_ref()),
|
||||
// TODO: Support this with GraphQL October 2021 Edition.
|
||||
implements_interfaces: vec![],
|
||||
directives: vec![],
|
||||
fields: x
|
||||
.fields
|
||||
|
|
Loading…
Reference in a new issue