Skip to content

Add rewriteDefaults to the request function #7

Description

@VanishMax

It should wrap the wretcher's defaults function like so:

const rewriteDefaults = (defaults: WretcherOptions) => wretcher.defaults(defaults, false);

Because otherwise we require users to know how to work with Wretch's immutability, which is sometimes confusing

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