Created
August 16, 2022 11:52
-
-
Save paramsinghvc/b61de1bc8c0530aceadd073ebeef78c2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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