Skip to content

Ratings added #19

New issue

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Ratings added #19

wants to merge 5 commits into from

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.

3 participants