Skip to content

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

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

Open
pixsperdavid opened this issue Apr 14, 2025 · 0 comments
Open

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

pixsperdavid opened this issue Apr 14, 2025 · 0 comments

Comments

@pixsperdavid
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant