Skip to content

FilePath is Decodable, but not from a String #106

@tayloraswift

Description

@tayloraswift

it looks like FilePath has a conformance to Codable, but this is a synthesized conformance, and expects a keyed container with a property called _storage.

i don’t know if this is intentional, but it doesn’t seem very useful. FilePath should just be Decodable from a String.

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