Skip to content

Instantly share code, notes, and snippets.

@Akifcan
Created December 19, 2021 17:19
Show Gist options
  • Save Akifcan/7fbb3daa702a3f6d84b9ab207fcd0f6e to your computer and use it in GitHub Desktop.
Save Akifcan/7fbb3daa702a3f6d84b9ab207fcd0f6e to your computer and use it in GitHub Desktop.
String query = '''
mutation CREATE_COMMENT(\$productId: String!, \$content: String!, \$rating: Float!, \$images: [String!]!){
createComment(productId: \$productId, comment: {content: \$content , rating: \$rating, images: \$images }){
content,
rating,
userId
}
}
''';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment