Tien Vo
03/25/2023, 4:07 AMTimothy Jones
03/25/2023, 7:52 AMTimothy Jones
03/25/2023, 7:53 AMTien Vo
03/25/2023, 9:08 AMreify method in these examples https://github.com/pactflow/pact-protobuf-plugin#protocol-buffer-message-consumerTien Vo
03/25/2023, 9:11 AMpactffi_message_reify I cant get something that I can decode into original objectMatt (pactflow.io / pact-js / pact-go)
Tien Vo
03/25/2023, 3:58 PMdebug! and compiling rust_ffi I think assume you can from Timothy is the correct answer for now. I got an error before I can confirm. I will ask in another thread.Tien Vo
03/27/2023, 1:02 AMyesMatt (pactflow.io / pact-js / pact-go)
pactffi_pact_handle_get_message_iter
pactffi_pact_message_iter_next
pactffi_message_get_contents_length
pactffi_message_get_contents_binMatt (pactflow.io / pact-js / pact-go)
sync versions of the iterator also.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Tien Vo
03/27/2023, 2:44 AMpactffi_message_reify . The reason it doesn't work before is I went to the wrong direction (typo in pact:proto, missing content type application/protobuf, wrong matching format...)Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
char*, but that’s just an array of bytesTien Vo
03/27/2023, 3:21 AMbase64_decode and merge to object then pass to callback