Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Revamp handling of fields without declared field #809
This is a follow-up from #783 (comment).
Currently, there's a fair amount of complexity in updating
The current logic is quite odd and has a number of edge cases. It looks a little bit like:
Assuming my understanding is correct, this leads to a number of weird things happening.
For example, if I try to dump an object of type
Likewise, if I keep trying to dump additional
But when using a
Additionally, this is all potentially non-thread-safe.
This is all quite complicated. My proposal for a simpler option is to add a new