Hi,
When sending a gRPC request containing a google.protobuf.Timestamp, Bruno rejects the standard ProtoJSON representation:
{
"created_after": "2024-01-01T00:00:00Z"
}
with an object expected serialization error. The request currently requires the message-shaped form instead:
{
"created_after": {
"seconds": 1704067200
}
}
This message-shaped workaround works directly in Bruno, but the grpcurl command generated by Bruno cannot be used as-is because grpcurl only accepts the standard RFC3339 representation.
According to the ProtoJSON specification, Timestamp should be represented as an RFC3339 string. It looks like protobuf.js has also recently added spec-compliant ProtoJSON support.
Would Bruno consider supporting the standard RFC3339 representation for Timestamp fields in gRPC requests?
Hi,
When sending a gRPC request containing a
google.protobuf.Timestamp, Bruno rejects the standard ProtoJSON representation:{ "created_after": "2024-01-01T00:00:00Z" }with an
object expectedserialization error. The request currently requires the message-shaped form instead:{ "created_after": { "seconds": 1704067200 } }This message-shaped workaround works directly in Bruno, but the
grpcurlcommand generated by Bruno cannot be used as-is becausegrpcurlonly accepts the standard RFC3339 representation.According to the ProtoJSON specification,
Timestampshould be represented as an RFC3339 string. It looks like protobuf.js has also recently added spec-compliant ProtoJSON support.Would Bruno consider supporting the standard RFC3339 representation for
Timestampfields in gRPC requests?