Name | Required |
---|---|
Java 17 | true |
- Clone this repo
git clone https://github.com/ClaudenirFreitas/dgs-issue-1135.git
- Run the application:
./gradlew clean bootRun
- Open the GraphiQL page:
http://localhost:8080/graphiql
- Execute this query:
query {
cars {
name
price
}
}
As you can see, when we are typing the query, we are adding some query parameters in the URL. In that case, the URL will be: http://localhost:8080/graphiql/index.html?query=query%20%7B%0A%20%20cars%20%7B%0A%20%20%20%20name%0A%20%20%20%20price%0A%20%20%7D%0A%7D%0A
.