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 b31dbda commit fc9a885Copy full SHA for fc9a885
crates/apollo-mcp-server/src/operations.rs
@@ -575,14 +575,14 @@ impl Operation {
575
576
fn operation_name(
577
operation: &Node<OperationDefinition>,
578
- source_path: &String,
+ source_path: &str,
579
) -> Result<String, OperationError> {
580
Ok(operation
581
.name
582
.as_ref()
583
.ok_or_else(|| {
584
OperationError::MissingName(
585
- source_path.clone(),
+ source_path.to_owned(),
586
operation.serialize().no_indent().to_string(),
587
)
588
})?
0 commit comments