I’m trying to run this example from the doc in the...
# prisma-whats-new
m
I’m trying to run this example from the doc in the playground https://docs-next.graph.cool/reference/graphql-api/mutation-api-ol0yuoz6go#nested-mutations
Copy code
mutation createAuthorAndContactDetails($contactDetails: AuthorcontactDetailsContactDetails) {
  createAuthor(
    description: "I am a good author!"
    contactDetails: $contactDetails
  ) {
    id
    contactDetails {
      id
    }
  }
}
what are some example of value for the variable
AuthorcontactDetailsContactDetails
w
@Miezan Go to https://www.graphqlbin.com, enter your API endpoint and at the right side of your screen you’ll see the bage
SCHEMA
. Click on it and then in the search field enter
AuthorcontactDetailsContactDetails
. You’ll see all the fields you should indicate as the payload to your mutation.
m
thanks!