DotNet - `ToString()` behavior
What language does this apply to? C#
Describe the problem you are trying to solve.
When I call the ToString() function of a property of any type what is expected is a string and not a string within a string
Describe the solution you'd like
ToString() method returning a ProtoJson string is not as well documented as it should be, this is not the expected behavior when it comes to a function as common as ToString(), without wanting to say how things should be done, but I think that the correct behavior would be to have a function called ToProtoJson() and/or a parameterized version of ToString(), for example ToString(bool asProtoJson = false)
Additional context this is how we used in our project and that generated problems for us:
While I can understand it may not be expected, it would be a massively breaking change to "fix" this at this point. We might potentially add documentation (although I'm not sure entirely where, and it's not something I have time for now) but we're not going to change the behavior at this point.
(To my mind the problem here is that PublishTime is a string rather than a Timestamp...)
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.
This issue was closed and archived because there has been no new activity in the 14 days since the inactive label was added.