Use getters in structs
Closed this issue · 1 comments
AnastasiiaSergienko commented
Problem
We don't have getters for variables in structs and it should be possible to add them.
Nicoretti commented
Ticket is to fuzzy, it is unclear which structs need to be addressed? For addressing all structs additional work would on top of the getters, e.g. MarshalJSON
interface needs to be implemented, would be needed to be done. Because private fields do not get serialized by the "default" marshal implementation.