Created
August 16, 2022 11:53
-
-
Save paramsinghvc/18635bc82e7c38ebae137b6a369afd3d to your computer and use it in GitHub Desktop.
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 WeatherObject { | |
id: Int | |
main: String | |
} | |
type CurrentWeather { | |
temp: Float | |
weather: [WeatherObject]! | |
} | |
type Weather { | |
id: String! | |
current: CurrentWeather! | |
} | |
type Query { | |
weather: Weather! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment