Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit 916932c

Browse files
committed
Add Model
1 parent bbe5b26 commit 916932c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/models/graph/types/person.rb

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Types
33
Person = GraphQL::ObjectType.define do
44
name "Person"
55
description "An individual person or character within the Star Wars universe."
6+
model ::Person
67

78
interfaces [GraphQL::Relay::Node.interface]
89

app/models/graph/types/rating.rb

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Types
33
Rating = GraphQL::ObjectType.define do
44
name "Rating"
55
description "A rating made by a user on a film."
6+
model ::Rating
67

78
interfaces [GraphQL::Relay::Node.interface]
89

app/models/graph/types/species.rb

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Types
33
Species = GraphQL::ObjectType.define do
44
name "Species"
55
description "A type of person or character within the Star Wars Universe."
6+
model ::Species
67

78
interfaces [GraphQL::Relay::Node.interface]
89

0 commit comments

Comments
 (0)