Skip to content

Serde integration feels wrong. #192

@quadrupleslap

Description

@quadrupleslap

To a serde format, the chrono types are indistinguishable from string types. This works for JSON, because it doesn't have a proper date type, but for TOML and other formats with builtin date types it means strings can get deserialized into dates when actual dates can't. I'm not very familiar with serde, but it doesn't look possible for these formats to work around the fact that dates look indistinguishable from strings, other than also making their date types indistinguishable from strings, which feels wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions