Discord.net: Why is TypeReaderResult a struct

Created on 16 Nov 2019  路  4Comments  路  Source: discord-net/Discord.Net

Why is TypeReaderResult a struct rather than a class? Other IResult derived types are classes as well, and this is preventing me from extending TypeReaderResult to carry localization information.

commands question

All 4 comments

why

In all seriousness; I'd gladly merge a PR to change it to a class, but it would be a breaking change.

Could be done for 3.0, since we're already planning to break a few other things with that release.

planning to break a few other things with that release.

a few

:rofl:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RheaAyase picture RheaAyase  路  6Comments

foxbot picture foxbot  路  4Comments

xXBuilderBXx picture xXBuilderBXx  路  4Comments

ThePademelon picture ThePademelon  路  7Comments

JKamsker picture JKamsker  路  4Comments