Rohit Krishnan
07/11/2023, 3:43 PMTimestamp
field in the request. Is this supported?
Pact Test function failed with an exception: Bad type on operand stack
Exception Details:
Reason:
Type 'com/google/protobuf/Timestamp' (current frame, stack[2]) is not assignable to 'com/google/protobuf/GeneratedMessageLite'
My request looks like this (Kotlin):
"timestamp" to mapOf(
"seconds" to "0",
"nanos" to "0"
)
My message in the proto looks like this:
message SomeMessage {
... Other fields ...
google.protobuf.Timestamp timestamp = 4;
}
Rohit Krishnan
07/11/2023, 3:45 PMRohit Krishnan
07/11/2023, 4:01 PMMatt (pactflow.io / pact-js / pact-go)
Rohit Krishnan
07/12/2023, 6:44 PM