Skip to content

Consider changing how we issue the fetch request #8

@robpaveza

Description

@robpaveza

Today we fetch with code generated at runtime by a custom generation script that relies on a lot of string concatenation. However, Chromium DevTools already has a "Copy as fetch" option.

Alternatively, the function can be written out in regular vanilla JS (so it can be typechecked) and then be converted to a string to Function#toString().

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