Skip to content

Commit

Permalink
Merge pull request #30 from semiotic-ai/joseph/run-cargo-fmt
Browse files Browse the repository at this point in the history
graph, graphql: fix formatting with cargo fmt
  • Loading branch information
suchapalaver authored May 16, 2024
2 parents bee05a7 + 9eb0983 commit 9576a56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 10 additions & 11 deletions graph/src/schema/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1343,17 +1343,16 @@ fn sql_field() -> s::Field {
position: Pos::default(),
description: Some("Access to SQL queries".to_string()),
name: SQL_FIELD_NAME.to_string(),
arguments: vec![
InputValue {
position: Pos::default(),
description: None,
name: String::from("input"),
value_type: Type::NonNullType(Box::new(Type::NamedType(SQL_INPUT_TYPE.to_string()))),
default_value: None,
directives: vec![],

}
],
arguments: vec![InputValue {
position: Pos::default(),
description: None,
name: String::from("input"),
value_type: Type::NonNullType(Box::new(Type::NamedType(
SQL_INPUT_TYPE.to_string()
))),
default_value: None,
directives: vec![],
}],
field_type: Type::NamedType(SQL_FIELD_TYPE.to_string()),
directives: vec![],
};
Expand Down
1 change: 0 additions & 1 deletion graphql/src/store/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use graph::schema::{
};
use graph::schema::{ErrorPolicy, BLOCK_FIELD_TYPE};


use crate::execution::{ast as a, Query};
use crate::metrics::GraphQLMetrics;
use crate::prelude::{ExecutionContext, Resolver};
Expand Down

0 comments on commit 9576a56

Please sign in to comment.