Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions reshape/fields/starwars/index.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Imported by
# stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql --name=starwars
# stepzen import graphql https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/graphql --name=starwars
#
enum Episode {
"Released in 1977."
Expand Down Expand Up @@ -61,7 +61,7 @@ executing the query’s top level selection set with the `Query` root object typ
type Query {
droid("id of the droid" id: ID!): Droid
@graphql(
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
)
hero(
"""
Expand All @@ -71,10 +71,10 @@ type Query {
episode: Episode
): Character
@graphql(
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
)
human("id of the human" id: ID!): Human
@graphql(
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
)
}
4 changes: 2 additions & 2 deletions reshape/subset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## `@graphql`

[`starwars.graphql`](starwars.graphql) is a strict subset of the schema exposed by the example endpoint
`https://chester.stepzen.net/examples/starwars/__graphql` demonstrating that there's no need
`https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql` demonstrating that there's no need
to include all the types and fields of the backend endpoint.

In this case only information about human characters (type `Human`) is exposed
Expand All @@ -12,7 +12,7 @@ through the root operation type field `Query.human`.
## `@rest`

[`version.graphql`](version.graphql) is a strict subset of a schema that matches the StepZen
service version REST API `https://account.stepzen.net/version`.
service version REST API `https://account.domain/version`.

A GraphQL type matching the **full** REST API is:

Expand Down
4 changes: 2 additions & 2 deletions reshape/subset/starwars.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Based upon an import generated by
# stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql
# stepzen import graphql https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql
#
# and then manually subsetted to remove
#
Expand Down Expand Up @@ -40,6 +40,6 @@ type Human implements Character {
type Query {
human("id of the human" id: ID!): Human
@graphql(
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
)
}