Skip to content

Commit c1d8944

Browse files
committed
Refactor coordinate source assignment for clarity
1 parent 033b6e1 commit c1d8944

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/playground/src/examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ bridge Query.weather {
13391339
weather.longitude <- i.longitude || null
13401340
weather.longitude <- geo[0].lon
13411341
1342-
o.coordinateSource <- i?.latitude != null and i?.longitude != null ? "input" : "geocode"
1342+
o.coordinateSource <- i.latitude and i.longitude ? "input" : "geocode"
13431343
o.temperatureC <- weather.current_weather.temperature
13441344
o.windSpeed <- weather.current_weather.windspeed
13451345
}`,

0 commit comments

Comments
 (0)