Skip to content

fromJson should handle types with disabled default-constructor #12

@Zalastax

Description

@Zalastax

Using https://github.com/Zalastax/zalastaxlibd/blob/master/source/notnull.d to wrap types that shouldn't be null is not supported unless the wrapped type implements _fromJSON.
fromJSON!(NotNull!(int[])) should be possible to call.
I have no idea how this should be implemented in a generic way, but lets discuss some ideas and ask the community if we get stuck.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions