docs: fix example schema:check commands in apollo-federation docs (#6563)

This commit is contained in:
jdolle 2025-02-27 17:32:47 -08:00 committed by GitHub
parent 9dfd3ca685
commit 2600aa17c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -742,7 +742,6 @@ file:
hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -756,7 +755,6 @@ hive schema:check \
npx hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -775,7 +773,6 @@ docker run --name graphql-hive-cli --rm \
schema:check \
--registry.accessToken "<YOUR_TOKEN_HERE>" \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
./subgraphs/reviews.graphql
```
@ -825,7 +822,6 @@ extend type Product @key(fields: "upc") {
hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -839,7 +835,6 @@ hive schema:check \
npx hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -858,7 +853,6 @@ docker run --name graphql-hive-cli --rm \
schema:check \
--registry.accessToken "<YOUR_TOKEN_HERE>" \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
./subgraphs/reviews.graphql
```
@ -921,7 +915,6 @@ file:
hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -935,7 +928,6 @@ hive schema:check \
npx hive schema:check \
--registry.accessToken YOUR_TOKEN_HERE \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
subgraphs/reviews.graphql
```
@ -954,7 +946,6 @@ docker run --name graphql-hive-cli --rm \
schema:check \
--registry.accessToken "<YOUR_TOKEN_HERE>" \
--service="reviews" \
--url="https://federation-demo.theguild.workers.dev/reviews" \
./subgraphs/reviews.graphql
```