Skip to content

Instantly share code, notes, and snippets.

@ermadmi78
Created December 14, 2021 12:21
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/620b59d9bed7a84a528d1cc23c61a2ae to your computer and use it in GitHub Desktop.
Save ermadmi78/620b59d9bed7a84a528d1cc23c61a2ae to your computer and use it in GitHub Desktop.
Query preview
# GraphQL
query {
film(id: 0) {
id
title
actors {
id
firstName
lastName
}
}
}
// Kotlin
val result = context.query {
film(id = 0L) {
id()
title()
actors {
id()
firstName()
lastName()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment