Skip to content

Commit

Permalink
Revert "Adding support for more well known types in descriptor (#809)"
Browse files Browse the repository at this point in the history
This reverts commit 1659831.
  • Loading branch information
johanbrandhorst authored Nov 16, 2018
1 parent c1645a6 commit 421818a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions protoc-gen-grpc-gateway/descriptor/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,16 +451,7 @@ var (
}

wellKnownTypeConv = map[string]string{
".google.protobuf.Timestamp": "runtime.Timestamp",
".google.protobuf.Duration": "runtime.Duration",
".google.protobuf.StringValue": "runtime.StringValue",
".google.protobuf.BytesValue": "runtime.BytesValue",
".google.protobuf.Int32Value": "runtime.Int32Value",
".google.protobuf.UInt32Value": "runtime.UInt32Value",
".google.protobuf.Int64Value": "runtime.Int64Value",
".google.protobuf.UInt64Value": "runtime.UInt64Value",
".google.protobuf.FloatValue": "runtime.FloatValue",
".google.protobuf.DoubleValue": "runtime.DoubleValue",
".google.protobuf.BoolValue": "runtime.BoolValue",
".google.protobuf.Timestamp": "runtime.Timestamp",
".google.protobuf.Duration": "runtime.Duration",
}
)

0 comments on commit 421818a

Please sign in to comment.