Skip to content

Support additional special structs #70

Description

@BambOoxX

Hi, I'm using dictionary-struct conversions quite extensively when doing HDF5 I/O. In some cases, some fields of structs are not there in the file because of former versions.
To cope with that, I currently use a pattern with https://kristofferc.github.io/LazilyInitializedFields.jl/ where fields that may not be there are decorated with @lazy.

As such it seems StructUtils does not support nested lazy structs. Would you be open to supporting that ?
Maybe with a dedicated extension ?

Moreover, there does not seem to be an example with parametric types ? Is this intentional ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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