Skip to content

Keywords with spaces cause invalid edn output #2

@olivergeorge

Description

@olivergeorge

I think it's illegal to have spaces in keywords but the library allows this. When keywords include spaces the seralised edn file is unreliable.

Random example generated from my code (the "copy of" bit was my bug... the keyword with spaces resolves as a new 'of attribute on my map!) ...
{
:db/index false
:db/doc ""
:db/ident :copy of draft_po/isbn
:db/valueType :db.type/string
:db/cardinality :db.cardinality/one
}

Perhaps this is fine or perhaps a check for spaces makes it saver.

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