Skip to content

Allow setting the default responseHandler at a higher level #2385

@taylorkline

Description

@taylorkline

Because of #2354 (which is addressed in #2363, pending feedback), we have resorted to adding a custom responseHandler to each and every endpoint definition.

This gets tedious, and it's easy for one of the several developers on our team to miss a case until we run into a run-time PARSING_ERROR when we get a "text/plain" response.

It would be very convenient to be able to set the default responseHandler across all endpoints in the options to createApi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions