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 ComponentDecoder #1034

Closed
lynxplay opened this issue Feb 9, 2024 · 0 comments · Fixed by #1035
Closed

Add ComponentDecoder #1034

lynxplay opened this issue Feb 9, 2024 · 0 comments · Fixed by #1035

Comments

@lynxplay
Copy link
Contributor

lynxplay commented Feb 9, 2024

https://jd.advntr.dev/api/4.15.0/net/kyori/adventure/text/serializer/ComponentSerializer.html currently inherits from ComponentEncoder, which is nice, however the deserialising methods are not inherited from a type like e.g. ComponentDecoder.

This is unfortunate as such a type would allow platforms that only require deserialisation from an instance to skip ComponentSerialiser and properly type such instance as ComponentDecoder.

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

Successfully merging a pull request may close this issue.

3 participants