From b621839dfb9d0c5682317eb98609cc01bf2ca5b7 Mon Sep 17 00:00:00 2001 From: Avery Harnish Date: Thu, 22 Jul 2021 15:21:54 -0500 Subject: [PATCH] feat: adds success message to subgraph publish/delete (#685) --- src/command/subgraph/delete.rs | 2 ++ src/command/subgraph/publish.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/command/subgraph/delete.rs b/src/command/subgraph/delete.rs index 030e6f45a..d6f6ea524 100644 --- a/src/command/subgraph/delete.rs +++ b/src/command/subgraph/delete.rs @@ -133,6 +133,8 @@ fn handle_response(response: DeleteServiceResponse, subgraph: &str, graph_ref: & warn_prefix, errors.join("\n") ) + } else { + eprintln!("There were no composition errors as a result of deleting the subgraph."); } } diff --git a/src/command/subgraph/publish.rs b/src/command/subgraph/publish.rs index 8e400488c..34f68f58a 100644 --- a/src/command/subgraph/publish.rs +++ b/src/command/subgraph/publish.rs @@ -120,6 +120,8 @@ fn handle_publish_response(response: PublishPartialSchemaResponse, subgraph: &st warn_prefix, errors.join("\n") ); + } else { + eprintln!("There were no composition errors as a result of publishing the subgraph."); } }