Skip to content

feat: useList requires headers & credentials fetchOptions for cross-origin requests #322

Open
@casesolved-co-uk

Description

@casesolved-co-uk

UseListOptions allows a baseUrl but does not allow the headers and credentials fetch options to be passed down to the fetch call.

Use-case is cross-origin authenticated requests from frappe-ui apps (mainly for local development using a cloud frappe instance as backend)

export interface UseListOptions<T> {

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