Skip to content

refactor(wmo): inline single-caller mappers into fetchers - #6

Merged
markmybytes merged 1 commit into
mainfrom
refactor/drop-map-indirection
Oct 16, 2026
Merged

markmybytes merged 1 commit into
mainfrom
refactor/drop-map-indirection

Conversation

@markmybytes

Copy link
Copy Markdown
Owner

No description provided.

mapForecasts, mapPresent and mapCountries were one-caller pure
transforms whose only extra value was a testability claim no test
ever used. Their bodies now live in the fetchers they served
(forecasts/present/countries), reading top-down as fetch, map,
return. Exported signatures unchanged so the unstable_cache
pass-throughs keep working; all parse helpers stay.
@markmybytes
markmybytes merged commit 640ff21 into main Oct 16, 2026
2 checks passed
@markmybytes
markmybytes deleted the refactor/drop-map-indirection branch October 16, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant