Apply app config to remote APIs and custom transports #24

Open
opened 2026-10-27 23:41:34 +00:00 by mmacia · 0 comments
Owner

Goal

Make configured FeedReader defaults available throughout remote requests and custom transports.

Scope

  • Apply option resolution to stream/2, stream_verified/2, and fetch_and_parse/2, including :max_items validation before download.
  • Allow application config to select :http_client and provide custom transport-specific keyword options.
  • Pass configured options through to FeedReader.Transport.request/2; call-level options override matching config keys.
  • Cover configured download limits and retry settings without changing existing defaults.

Acceptance

  • Tests verify configured transport selection, custom option pass-through, call-level overrides, and configured remote limits.
  • Keep this PR below 150 changed lines, counting additions and deletions including tests.
## Goal Make configured FeedReader defaults available throughout remote requests and custom transports. ## Scope - Apply option resolution to `stream/2`, `stream_verified/2`, and `fetch_and_parse/2`, including `:max_items` validation before download. - Allow application config to select `:http_client` and provide custom transport-specific keyword options. - Pass configured options through to `FeedReader.Transport.request/2`; call-level options override matching config keys. - Cover configured download limits and retry settings without changing existing defaults. ## Acceptance - Tests verify configured transport selection, custom option pass-through, call-level overrides, and configured remote limits. - Keep this PR below 150 changed lines, counting additions and deletions including tests.
mmacia self-assigned this 2026-10-27 23:42:11 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmacia/feed_reader#24