Skip to content

[Feature] Explicit types for fetch client #358

Open
@manchenkoff

Description

@manchenkoff

Is your feature request related to a problem? Please describe.

Since we do not provide a full ofetch-compatible client, we should explicitly return an instance that can be configured only with supported fields.

For example, the following list of fields should not be overridden by the user to keep sanctum-related logic as is:

  • baseUrl
  • credentials
  • redirect
  • retry
  • onRequest
  • onRequestError
  • onResponse
  • onResponseError

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions