Last active
December 14, 2021 12:08
-
-
Save ermadmi78/d829e6d09f04edd1ba27fe6f6144ab31 to your computer and use it in GitHub Desktop.
Mutation preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GraphQL | |
mutation { | |
createFilm(title: "My Film") { | |
id | |
title | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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