Skip to content

Typespec mismatch with HTTPoison.process_response/1 #52

@fastjames

Description

@fastjames

Running mix dialyzer returns a number of errors in Forcex.Api.Http and Forcex.Bulk around the override functions for process_response/1. HTTPoison changed the signature for that function several years ago, such that headers has been changed from a Map to a kwlist. This makes the function guards (used in both locations) no longer feasible.

These functions should be updated to work with headers as a keyword list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions