Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested explicit wrappers #140

Merged
merged 1 commit into from
Sep 6, 2023

Commits on Sep 6, 2023

  1. Add support for nested explicit wrappers

    Sometimes you need to fully specify a wrapper type. This is most common
    for situations when you need a custom wrapper type, but that type is
    embedded inside an outer generic type (like a List) that needs its own
    wrapper. In this case, it's not enough to specify the outer wrapper (the
    List wrapper) or the inner wrapper (the custom wrapper) alone. You need
    the full composition.
    
    The new `WrapperSerialize` and `WrapperDeserialize` properties on the
    GenerateSerialize, GenerateDeserialize, and GenerateSerde attributes can
    be used for this.
    agocke committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0e690cb View commit details
    Browse the repository at this point in the history