Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The current generic Protobuf to JSON conversion logic in stout/protobuf.hpp prints out fields even if they are deprecated. It would be useful to not print deprecated fields so that the user is not confused as to why they're seeing it.
In the context of reservation refinement, the Resource.role field is printed even if it's not set, because it's an optional field with a default value. For now, we've added a terrible hack to avoid having to be printed. It would be much better to update the generic Protobuf to JSON code to not print deprecated fields, and we can remove this hack.