We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e0dba commit 15ae24fCopy full SHA for 15ae24f
crates/graphql_lang_types/src/graphql_sdl.rs
@@ -257,8 +257,11 @@ pub struct GraphQLFieldDefinition {
257
258
impl fmt::Display for GraphQLFieldDefinition {
259
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
260
- write!(f, "{}", self.name)?;
261
- write_arguments(f, &self.arguments)?;
+ write!(f, "{}", self.name.item)?;
+ write_arguments(
262
+ f,
263
+ &self.arguments.iter().map(|x| &x.item).collect::<Vec<_>>(),
264
+ )?;
265
write!(f, ": {}", self.type_)?;
266
write_directives(f, &self.directives)?;
267
Ok(())
0 commit comments