k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Test support of the canonical Protobuf JSON Mapping

Open olegbespalov opened this issue 1 year ago • 0 comments

What?

In our documentation, we say that we do support canonical Protobuf JSON Mapping.

And this is probably the case since we use the protojson.

But it's good to validate it by creating a dedicated test case (we do test some of the mappings partially in client_test.go) where we test all mappings.

If we don't support something from the canonical mapping, it's good to document it somewhere on the gRPC protocol's page at https://grafana.com/docs/k6/latest/using-k6/protocols/grpc/

Related PRs / issues

  • https://github.com/grafana/k6-docs/issues/1378
  • https://github.com/grafana/k6-docs/pull/1491
  • https://github.com/grafana/k6-docs/pull/1480

Why?

Mapping JSON (from k6's scripts) to Protobuf should be well-tested and documented.

olegbespalov avatar Jan 26 '24 10:01 olegbespalov