aprs.me/lib/aprsme_web/controllers/api/v1
Graham McIntire b8a9b8a465
chore(dialyzer): enable stricter flags and fix 97 resulting findings
Turned on :error_handling, :underspecs, and :unmatched_returns in
mix.exs dialyzer config. The 97 warnings this surfaced were fixed in
place rather than suppressed:

- unmatched_return (79): explicit discard with `_ = ...` for
  fire-and-forget side effects (Process.cancel_timer, :ets.new,
  send/2), and pattern-matched `:ok = ...` for control-plane
  Phoenix.PubSub subscribe/unsubscribe/broadcast calls so a future
  return-shape change fails loud.

- contract_supertype (18): tightened @spec arg and return types on
  data_builder, historical_loader, url_params, packet_utils,
  encoding_utils, aprs_symbol, weather_controller, packet_replay to
  match each function's actual success typing.

No behavioural change. mix compile clean, 1008 tests pass, dialyzer
count is now 0.
2026-04-21 10:07:01 -05:00
..
json Consolidate 24 packet columns into JSONB data field 2026-02-20 13:02:47 -06:00
callsign_controller.ex refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
fallback_controller.ex Add Weather API controller with parameter validation 2026-03-22 11:27:45 -05:00
weather_controller.ex chore(dialyzer): enable stricter flags and fix 97 resulting findings 2026-04-21 10:07:01 -05:00
weather_json.ex Add Weather API controller with parameter validation 2026-03-22 11:27:45 -05:00