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
This could be a minor issue because typically, the name of the 'oneof' field is not the same as the message's field.
However, it may not be a forbidden action, so it requires support.
The text was updated successfully, but these errors were encountered:
This wasn't considered during the initial development 😓 It seems that it will also occur when any two of message name/ oneof name/ oneof included field name has the same value. One solution would be to add suffixes to the oneof sealed interface / data class names like:
( example with ~Oneof, ~Field suffexes added )
Although this is breaking change. Since naming messages and oneofs (or containing fields) identically seems like an unpopular choice and avoidable, let's try keeping this issue open for a while and see if we could get other opinions
Simple Example:
is converted into
occurs kotlin compile error.
This could be a minor issue because typically, the name of the 'oneof' field is not the same as the message's field.
However, it may not be a forbidden action, so it requires support.
The text was updated successfully, but these errors were encountered: