Created
April 10, 2022 17:48
-
-
Save danstarns/bc5261c9ef1e5d0396ca1885032f678d to your computer and use it in GitHub Desktop.
movies-gql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Movie { | |
title: String! | |
actors: [Person] @relationship(type: "ACTED_IN", direction: IN) | |
genres: [Genre] @relationship(type: "In_GENRE", direction: OUT) | |
} | |
type Person { | |
name: String! | |
movies: [Movie] @relationship(type: "ACTED_IN", direction: OUT) | |
} | |
type Genre { | |
name: String! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typo on line 4,
type: "In_GENRE"
instead oftype: "IN_GENRE"
.