castle icon indicating copy to clipboard operation
castle copied to clipboard

blaise nullable message value

Open mishabruml opened this issue 3 years ago • 0 comments

Hi there,

As i understand it, the message value is nullable https://github.com/ovotech/castle/blob/193347cd0c3f30a1565a464da6b0942de089af13/packages/avro-kafkajs/src/types.ts#L37 but when overriding message value using blaise, typescript compiler complains

Screenshot 2021-10-27 at 15 37 47

meaning that I've had to do { value: null as unknown as undefined} for now 🤢

mishabruml avatar Oct 27 '21 14:10 mishabruml