Skip to content

Commit

Permalink
Merge pull request #175 from OpsLevel/db/bugfix-raw-queries
Browse files Browse the repository at this point in the history
update default operationName for raw query to empty
  • Loading branch information
davidbloss authored Sep 21, 2023
2 parents a69b198 + b7d4dc1 commit afd4d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func init() {
graphqlCmd.Flags().BoolP("paginate", "p", false, "Automatically make additional requests to fetch all pages of results")
graphqlCmd.Flags().StringP("aggregate", "a", ".", "JQ expression to use to aggregate results")
graphqlCmd.Flags().StringP("query", "q", "", "The query or mutation body to use")
graphqlCmd.Flags().StringP("operationName", "o", "Raw", "The query or mutation 'operation name' to use")
graphqlCmd.Flags().StringP("operationName", "o", "", "The query or mutation 'operation name' to use")
graphqlCmd.Flags().StringArrayP("field", "f", nil, "Add a variable in `key=value` format")
}

Expand Down

0 comments on commit afd4d11

Please sign in to comment.