Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http: Allow interceptors per request #7771

@jmendiara

Description

@jmendiara

Scenario: an App is consuming several APIs. As the interceptor chain is global, the interceptors are applied to any request. But the interceptors may apply only to a request subset.

Problem: Requests are traversing interceptors they don't need to.

Proposal: Keep the current global interceptor chain as-is, and add a new config property with the per-request interceptors and merge it with the global chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions