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

Deserializing to List<T> will return the list as items of first parent abstract type without warning #11

Open
Measurity opened this issue Jul 1, 2023 · 0 comments

Comments

@Measurity
Copy link
Contributor

Measurity commented Jul 1, 2023

Either of these should be done to fix this trap:

  • Warn user that type information is lost.
  • Fix BinaryPack to return the type for every reference in the List as it was serialized.

See #7 for more info and PR #10 that allows users to specify which parent type should be used when deserializing.

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