Skip to content

Handle invalid keywords correctly when exporting workspaces to disk #581

@tengstrand

Description

@tengstrand

When a workspace is exported to disk using poly ws out:myws.edn, certain keys may contain invalid values, causing the resulting file to be unreadable, for example this key, which is read by the json-reader as a :@poly/web-app keyword. Clojure allows these keywords to be created from a string even though they are illegal.

The solution is to wrap these keywords with "" to make strings of them, e.g. ":@poly/web-app".

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