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

Ban serialization of Tag objects #47

Open
dktapps opened this issue Mar 23, 2019 · 0 comments
Open

Ban serialization of Tag objects #47

dktapps opened this issue Mar 23, 2019 · 0 comments

Comments

@dktapps
Copy link
Member

dktapps commented Mar 23, 2019

Far too often I've seen users who serialize() internal data (like item NBT) in order to store it. This is not only stupid (because it defeats the entire point of using NBT), it's also prone to breakages like this.

This issue proposes disallowing serialization of Tag object trees, or possibly to encode them in a non-breakable format using Serializable.

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

No branches or pull requests

1 participant