Handle record attributes with null values #56

Merged
ashwin merged 2 commits from deep-stack/laconic-sdk:pm-handle-null into main 2024-02-08 05:39:32 +00:00
Showing only changes of commit 43a7061ffe - Show all commits

View File

@ -79,7 +79,7 @@ export class Util {
const res: {[key: string]: any} = {};
attributes.forEach(attr => {
res[attr.key] = this.fromGQLValue(attr.value);
res[attr.key] = (attr.value === null) ? null : this.fromGQLValue(attr.value);
});
return res;