diff options
| author | Claude <noreply@anthropic.com> | 2026-06-05 07:51:24 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-06-05 07:51:24 +0000 |
| commit | aeba2b21b2e495a100757f62a07f6eda512a4ab0 (patch) | |
| tree | 6b1611b9e52c446a353da75ff21e735db551c893 /docs/superpowers | |
| parent | 3f7a1a181be300a04a8cfb00022aedc5d97676da (diff) | |
Fix wind grid deserialization: make forecast-only fields nullable
The batch wind-grid endpoint only requests windspeed_10m and
winddirection_10m, so temperature_2m, precipitation_probability, and
weathercode are absent from its response. Moshi required these fields
and threw, causing fetchWindGrid to silently fail.
Made those three fields nullable with null defaults in WeatherHourly.
Updated the two call sites in WeatherRepository that access them via
the full forecast endpoint to use safe-call syntax.
https://claude.ai/code/session_017TwkSjhzhmTcHKmVG5MWUa
Diffstat (limited to 'docs/superpowers')
0 files changed, 0 insertions, 0 deletions
