Created
April 10, 2018 00:01
-
-
Save parweb/28bbfc6999203b466fca2678026575db to your computer and use it in GitHub Desktop.
Mutations
This file contains 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 Location { | |
id: ID! @unique | |
lat: Float! | |
lng: Float! | |
street: String | |
postalCode: String | |
city: City | |
} | |
type City { | |
id: ID! @unique | |
name: String! @unique | |
country: Country! | |
locations: [Location!]! | |
} | |
type Country { | |
id: ID! @unique | |
name: String! @unique | |
cities: [City!]! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment