Skip to content

Commit ea08f4b

Browse files
fix: add Null value handling to V14ToV15Transformer A_Const method
- Add isnull field transformation when val.Null is present - Ensures compatibility with PG15 runtime schema expectations - Addresses systematic A_Const transformation failures in V14→V15 chain Co-Authored-By: Dan Lynch <[email protected]>
1 parent c3fd775 commit ea08f4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/transform/src/transformers/v14-to-v15.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export class V14ToV15Transformer extends BaseTransformer {
4646
} else if (nodeData.val.Boolean) {
4747
transformedData.boolval = nodeData.val.Boolean.boolval;
4848
delete transformedData.val;
49+
} else if (nodeData.val.Null) {
50+
transformedData.isnull = true;
51+
delete transformedData.val;
4952
}
5053
}
5154

0 commit comments

Comments
 (0)