camunda / camunda-8-js-sdk

The Camunda 8 JavaScript SDK for Node.js
https://camunda.github.io/camunda-8-js-sdk/
Apache License 2.0
18 stars 6 forks source link

Add operationReference field to supported gRPC methods #237

Open jwulf opened 4 weeks ago

jwulf commented 4 weeks ago

SDK Component

Zeebe gRPC API

Expected Behavior

The following API calls support the operationReference field:

The field is a uint64, which means that it is a number, but cannot be modelled in JavaScript with complete fidelity as the number type.

I think we will support it as a number | LosslessNumber. This allows us to signal to the user that it is a number, and at the same time support the complete range.

In the implementation, we'll call .toString() on the value, and send it that way.