2.4 · Challenge

Adding Relationships

Your challenge is to update the GraphQL type definitions from the previous lesson to include the RATED Full definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node. between the User and Movie types.

The RATED relationship includes a rating Full definition for property (opens in a new tab)A named value stored on a node or a relationship., of type float, that holds the user's rating for the movie.