Skip to content

Commit

Permalink
Merge pull request #45813 from rsvoboda/update.netlify.url
Browse files Browse the repository at this point in the history
Update URL of swapi-graphql.netlify.app GraphQL endpoint
  • Loading branch information
gsmet authored Jan 23, 2025
2 parents 1c5b939 + 3ccd358 commit 1755671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/smallrye-graphql-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ specify that within the `@GraphQLClientApi` annotation (by setting the `endpoint
or move this over to the configuration file, `application.properties`:

----
quarkus.smallrye-graphql-client.star-wars-typesafe.url=https://swapi-graphql.netlify.app/.netlify/functions/index
quarkus.smallrye-graphql-client.star-wars-typesafe.url=https://swapi-graphql.netlify.app/graphql
----

NOTE: During *tests only*, the URL is an optional property, and if it's not specified, Quarkus will assume
Expand Down Expand Up @@ -284,7 +284,7 @@ representations of the GraphQL types and documents. The client API interface is

We still need to configure the URL for the client, so let's put this into `application.properties`:
----
quarkus.smallrye-graphql-client.star-wars-dynamic.url=https://swapi-graphql.netlify.app/.netlify/functions/index
quarkus.smallrye-graphql-client.star-wars-dynamic.url=https://swapi-graphql.netlify.app/graphql
----

We decided to name the client `star-wars-dynamic`. We will use this name when injecting a dynamic client
Expand Down

0 comments on commit 1755671

Please sign in to comment.