Skip to content

Commit

Permalink
objects: options must not be optional in proto3
Browse files Browse the repository at this point in the history
  • Loading branch information
tgulacsi committed Oct 31, 2024
1 parent f31797f commit 90b8446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/objects/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,10 @@ func (p protoImports) String() string {
// Field numbers 19,000 to 19,999 are reserved for the Protocol Buffers implementation. The protocol buffer compiler will complain if you use one of these reserved field numbers in your message.
var ProtoExtends = protoExtends{
`extend google.protobuf.MessageOptions {
optional string oracall_object_type = 79396128;
string oracall_object_type = 79396128;
}`,
`extend google.protobuf.FieldOptions {
optional string oracall_field_type = 79396128;
string oracall_field_type = 79396128;
}`,
}

Expand Down

0 comments on commit 90b8446

Please sign in to comment.