Extend the LosslessDto class with your own Dto classes to enable lossless parsing of int64 values. Decorate fields with @Int64String or @BigIntValue to specify how int64 JSON numbers should be parsed.

Example

class MyDto extends LosslessDto {
@Int64String
int64NumberField: string
@BigIntValue
bigintField: bigint
@ChildDto(MyChildDto)
childDtoField: MyChildDto
normalField: string
normalNumberField: number
}

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

bpmnProcessId: string
key: string

ProcessDefinition key is a string in the SDK, but it's an int64 number in the database

name: string
version: number

Generated using TypeDoc