Skip to content

Instantly share code, notes, and snippets.

@johnymontana
Created April 2, 2018 18:44
Show Gist options
  • Save johnymontana/5d1918ddcbfec236ccc0c7cd6c4006ef to your computer and use it in GitHub Desktop.
Save johnymontana/5d1918ddcbfec236ccc0c7cd6c4006ef to your computer and use it in GitHub Desktop.
mutation {
m1: createMovie(id: "101", title: "Black Panther", tagline: "", released: 2018)
m2: createMovie(id: "107", title: "Snatch", tagline: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers...", released: 2000)
m3: createMovie(id: "108", title: "River Runs Through It, A", tagline: "The story about two sons of a stern minister -- one reserved, one rebellious -- growing up in rural Montana while devoted to fly fishing.", released: 1992)
m4: createMovie(id: "71573", title: "Whiteout", tagline: "U.S. Marshal Carrie Stetko tracks a killer in Antarctica, as the sun is about to set for six months", released: 2009)
p1: createPerson(id: "p1", name:"Tom Skerritt", born: 1933)
p2: createPerson(id: "p2", name: "Brad Pitt", born: 1963)
cast1: addMovieActors(id: "108", actors: ["p1", "p2"])
cast2: addMovieActors(id: "71573", actors: ["p1"])
cast3: addMovieActors(id: "107", actors:["p2"])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment