update example to use weather api

This commit is contained in:
Jens Neuse 2022-11-02 18:50:27 +01:00
parent 1887dccdf5
commit f5efd3e7f7

View File

@ -1,9 +1,10 @@
query ($city: String!) {
weather_getCityByName(name: $city config: {units: metric}) {
coordinates: coord {
lat
lon
}
# remove the comments to add the coordinates to the query
# coordinates: coord {
# lat
# lon
# }
country
weather {
temperature {