Skip to content

Instantly share code, notes, and snippets.

@eveporcello
Created September 23, 2022 00:31
Show Gist options
  • Save eveporcello/e5e28ca1dcad0998555156db7300dd71 to your computer and use it in GitHub Desktop.
Save eveporcello/e5e28ca1dcad0998555156db7300dd71 to your computer and use it in GitHub Desktop.
type Query {
continents: [Continent]
continent(code: String): Continent
countries: [Country]
country(code: String): Country
languages: [Language]
language(code: String): Language
}
type Continent {
code: String
name: String
countries: [Country]
}
type Country {
code: String
name: String
native: String
phone: String
continent: Continent
currency: String
languages: [Language]
emoji: String
emojiU: String
states: [State]
}
type Language {
code: String
name: String
native: String
rtl: Int
}
type State {
code: String
name: String
country: Country
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment