Skip to content

MemoryPack generated unions don't work with nested interfaces #394

@pixsperdavid

Description

@pixsperdavid

The following gist shows a semi-complex hierarchy of nested interfaces and records:

https://gist.github.com/pixsperdavid/a1eda8c5742e9c712860d5a93a46cc9b

This fails to build as MemoryPack is generating a partial interface IV1 which is not enclosed in a partial nested interface, causing a duplicate definition.

As I added the nested classes support originally this is my oversight, working on a PR currently to address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions