Moving Setter methods of Encoder to Info struct #439
DeniseBryson
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
I don't think that would be an improvement. If anything, users would have to write slightly more code. And making the change would require any existing user to update their own code. Right now info is a private field within the encoder, so users generally (EDIT: don't) need to think about it |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we thought about moving all methods that change properties of Info within the encoder, such as this one:
Since they changes properties of Info it seems more intuitive for them to be methods of the info struct.
Is there something we missing? Would this be an improvement?
If yes I could prepare a pull request, copying all methods to info and marking the methods of the encoder as deprecated?
Would be happy to hear your thoughts on this. :)
Beta Was this translation helpful? Give feedback.
All reactions