We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 033b6e1 commit c1d8944Copy full SHA for c1d8944
1 file changed
packages/playground/src/examples.ts
@@ -1339,7 +1339,7 @@ bridge Query.weather {
1339
weather.longitude <- i.longitude || null
1340
weather.longitude <- geo[0].lon
1341
1342
- o.coordinateSource <- i?.latitude != null and i?.longitude != null ? "input" : "geocode"
+ o.coordinateSource <- i.latitude and i.longitude ? "input" : "geocode"
1343
o.temperatureC <- weather.current_weather.temperature
1344
o.windSpeed <- weather.current_weather.windspeed
1345
}`,
0 commit comments