Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
payload-examples
src/main/java/com/baeldung/graphql
.gitignore
README.md
graphql-java.iml
pom.xml

README.md

GraphQL-Java nested mutations

Showing how to make nested mutations with graphql-java and graphql-annotations.

Forked from Baeldung's tutorials repo, specifically "Introduction to GraphQL".

To run, use the launcher, then send a POST request to http://localhost:5050/users with the header Content-Type: application/json and a GraphQL body, e.g:

{
  "query": "mutation a($name: String! $email: String! $age: String! ){ user { create ( name: $name email: $email age: $age) { id name email age } } }",
  "parameters": {
    "name": "John",
	"email": "john@email.com",
    "age": 34
  }
}
You can’t perform that action at this time.