Skip to content

Import / Export Type Safety #39

@TrueKuehli

Description

@TrueKuehli

Currently we handle all our exporting with simple JSON.parse / JSON.stringify calls. Since this does not check any of the types, we won't know there's an issue until something breaks.

Because of this I propose changing the current importing / exporting behavior to use typesafe alternatives; a quick Google search brought up https://app.quicktype.io/ to generate the code for that; but feel free to suggest other alternatives in the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions