You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ruby implementation, I've noticed that the default value of a message type is nil whereas in other languages the default value of a message type is the default instance. Other data types adhere to the proto spec - for example, the default value of a string field is an empty string rather than nil.
I've been burned by this conflicting behavior, and was wondering if this is the intended behavior for the ruby implementation?
The text was updated successfully, but these errors were encountered:
Hi,
In the ruby implementation, I've noticed that the default value of a message type is nil whereas in other languages the default value of a message type is the default instance. Other data types adhere to the proto spec - for example, the default value of a string field is an empty string rather than nil.
I've been burned by this conflicting behavior, and was wondering if this is the intended behavior for the ruby implementation?
The text was updated successfully, but these errors were encountered: