Skip to content

Commit 421818a

Browse files
Revert "Adding support for more well known types in descriptor (#809)"
This reverts commit 1659831.
1 parent c1645a6 commit 421818a

File tree

1 file changed

+2
-11
lines changed
  • protoc-gen-grpc-gateway/descriptor

1 file changed

+2
-11
lines changed

protoc-gen-grpc-gateway/descriptor/types.go

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -451,16 +451,7 @@ var (
451451
}
452452

453453
wellKnownTypeConv = map[string]string{
454-
".google.protobuf.Timestamp": "runtime.Timestamp",
455-
".google.protobuf.Duration": "runtime.Duration",
456-
".google.protobuf.StringValue": "runtime.StringValue",
457-
".google.protobuf.BytesValue": "runtime.BytesValue",
458-
".google.protobuf.Int32Value": "runtime.Int32Value",
459-
".google.protobuf.UInt32Value": "runtime.UInt32Value",
460-
".google.protobuf.Int64Value": "runtime.Int64Value",
461-
".google.protobuf.UInt64Value": "runtime.UInt64Value",
462-
".google.protobuf.FloatValue": "runtime.FloatValue",
463-
".google.protobuf.DoubleValue": "runtime.DoubleValue",
464-
".google.protobuf.BoolValue": "runtime.BoolValue",
454+
".google.protobuf.Timestamp": "runtime.Timestamp",
455+
".google.protobuf.Duration": "runtime.Duration",
465456
}
466457
)

0 commit comments

Comments
 (0)