Skip to content

Instantly share code, notes, and snippets.

@ermadmi78
Last active December 14, 2021 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ermadmi78/d829e6d09f04edd1ba27fe6f6144ab31 to your computer and use it in GitHub Desktop.
Save ermadmi78/d829e6d09f04edd1ba27fe6f6144ab31 to your computer and use it in GitHub Desktop.
Mutation preview
# GraphQL
mutation {
createFilm(title: "My Film") {
id
title
}
}
// Kotlin
val result = context.mutation {
createFilm(title = "My Film") {
id()
title()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment