We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c672695 commit d05dadcCopy full SHA for d05dadc
packages/restate-sdk-core/src/serde_api.ts
@@ -25,7 +25,7 @@ class JsonSerde<T> implements Serde<T | undefined> {
25
contentType = "application/json";
26
27
serialize(value: T): Uint8Array {
28
- if (value == undefined) {
+ if (value === undefined) {
29
return new Uint8Array(0);
30
}
31
return new TextEncoder().encode(JSON.stringify(value));
0 commit comments