Skip to content

Allow accepting missing fields of other types than Maybe #646

@lortabac

Description

@lortabac

When deriving FromJSON instances generically, there is no way to provide a default value to a missing field of a record if the field is not a Maybe.

This seems related to #614, in that the proposed solution may help fixing both issues.

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