We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fdfdca commit 9fc23b5Copy full SHA for 9fc23b5
node/src/bin/manager.rs
@@ -698,7 +698,7 @@ pub enum IndexCommand {
698
Create {
699
/// The deployment (see `help info`).
700
#[clap(value_parser = clap::builder::NonEmptyStringValueParser::new())]
701
- deployment: DeploymentSearch,
+ deployment: String,
702
/// The Entity name.
703
///
704
/// Can be expressed either in upper camel case (as its GraphQL definition) or in snake case
@@ -1529,6 +1529,7 @@ async fn main() -> anyhow::Result<()> {
1529
method,
1530
after,
1531
} => {
1532
+ let deployment = DeploymentSearch::from_str(&deployment)?;
1533
commands::index::create(
1534
subgraph_store,
1535
primary_pool,
0 commit comments