-
Couldn't load subscription status.
- Fork 14
Open
Labels
priority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:bugSomething isn't workingSomething isn't working
Milestone
Description
What happened?
// Optional vendor-provided diagnostic code for the error, for vendor-specific
// insights or more granular diagnostics.
optional string vendor_diagnostic_code = 2;
// Optional human-readable message providing additional context.
string message = 3;
Both fields are optional but one has the explicit optional marker and the other one doesn't.
This makes parsing inconsistent too, as one field must be checked via HasField() and the other one should be checked comparing to the empty string to know if it is set or not.
What did you expect instead?
Both fields have optional.
Affected version(s)
v0.8.0
Affected part(s)
The protocol buffer definition files (part:protobuf)
Extra information
I didn't check if we have other instances of inconsistencies like this one. Maybe it is worth checking.
Metadata
Metadata
Assignees
Labels
priority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:bugSomething isn't workingSomething isn't working