We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following #782, I would like to better support graphql inputs in mutations. For instance,
local mutation = [[ mutation($star_input: AddStarInput!) { addStar(input: $star_input) { starrable { id } } } ]] local addStarInput = { starrableId = "..." } gh.graphql { query = mutation, fields = { star_input = addStarInput } ..., }
However, this can currently be done like this which might be more verbose:
local mutation = [[ mutation($starrableId: ID!) { addStar(input: { starrableId: $starrableId }) { starrable { id } } } ]] local starrableId = "..." gh.graphql { query = mutation, fields = { starrableId = starrableId } ..., }
Reference: https://docs.github.com/en/graphql/reference/mutations#addstar
The text was updated successfully, but these errors were encountered:
Examples of where this would be used:
Sorry, something went wrong.
No branches or pull requests
Following #782, I would like to better support graphql inputs in mutations. For instance,
However, this can currently be done like this which might be more verbose:
Reference: https://docs.github.com/en/graphql/reference/mutations#addstar
The text was updated successfully, but these errors were encountered: