v0.2.2: geocode input-guidance fix, country filter
geocode input-guidance fix, country filter
Resolves #15 — description and no_results recovery no longer imply nonexistent country/admin1 inputs.
Added:
openmeteo_geocodegains acountryinput (ISO 3166-1 alpha-2) mapped to the upstreamcountryCodefilter, for disambiguating same-named places. (#15)
Fixed:
- Description and
no_resultsrecovery no longer implycountry/admin1are inputs — both are output-only result fields. Callers are steered to bare place names; recovery now distinguishes an admin qualifier (drop it) from a physical feature/landmark outside the populated-places index (search the nearest town). (#15) - README corrected: no-match throws
no_results, not an empty array.
124 tests pass; bun run devcheck clean.