Skip to content

Quoted keys are read as empty strings #8

@awvwgk

Description

@awvwgk

The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, but got an empty string.

The input

"Quoted" = 0

yields the following dict

{'': 0}

which is in turn serialized as invalid HSD

 = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions