Skip to content

Instantly share code, notes, and snippets.

@MarcusHurney
Created July 13, 2020 22:35
Show Gist options
  • Save MarcusHurney/04386203bb84cee6ea37f130ff8305c5 to your computer and use it in GitHub Desktop.
Save MarcusHurney/04386203bb84cee6ea37f130ff8305c5 to your computer and use it in GitHub Desktop.
Why have the extra wrapper and parameter type declaration with GQL queries and mutations?
query ProjectOwner($login: String!) {
projectOwner(login: $login) {
websiteUrl
}
}
"vs"
query projectOwner(login: String!) {
websiteUrl
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment