blippar / aragorn

Regression tests made easy
Apache License 2.0
7 stars 1 forks source link

Add support for bytes field in grpc request/response documents #24

Closed post-l closed 6 years ago

post-l commented 6 years ago

Some tests might contain image or file fields as a request or response documents. proto3 bytes fields expect a base64 string. https://developers.google.com/protocol-buffers/docs/proto3#json

We need to provide a way to refer to a file with a syntax like "@image.png" that will be transformed to a base64 format "YWJjMTIzIT8kKiYoKSctPUB+"