Skip to content

Conversation

@focused220
Copy link
Contributor

@focused220 focused220 commented Oct 26, 2019

Completed the mutation for adding user ratings to a beach location. The query should be structured as follows:

mutation{ updateRatings(ID:1, input: {user: 0, rating: 5}){ NameMobileWeb Ratings{user, rating} ID } }

Args:
ID = location "ID",
input = users ID and rating input as an Object

Copy link
Contributor

@stackBlock stackBlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New object Id's are not being created when new reviews are left. You can see that in the second review there is no _id

ratings

@focused220
Copy link
Contributor Author

focused220 commented Oct 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants