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
Oddly enough it does not seem to retain the captured_by field and instead brings both fields to the top-level of the schema. It does only allow setting one of these fields
The text was updated successfully, but these errors were encountered:
I'll take a little longer look at this in a bit, but wanted to point out that you're using proto3, and that's not fully supported yet. There are several tickets related to adding support for proto3 ... sadly, it's not quite straight-forward.
If there's any chance you can use proto2, I'd recommend that. Most of the benefit for proto3 is actually in C, Go, and others; doesn't affect the JVM very much (at all maybe?).
Using the Photo example, I added a
capture_by
field which isoneof
either aPhone
orCamera
.The schema does not seem to indicate this relationship:
But creating the protobuf does seem to respect this relationship (somewhat):
Oddly enough it does not seem to retain the
captured_by
field and instead brings both fields to the top-level of the schema. It does only allow setting one of these fieldsThe text was updated successfully, but these errors were encountered: