File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/transform/src/transformers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1883,7 +1883,7 @@ export class V13ToV14Transformer {
18831883
18841884 private shouldPreserveObjnameAsObject ( context : TransformerContext ) : boolean {
18851885 if ( ! context . parentNodeTypes || context . parentNodeTypes . length === 0 ) {
1886- return true ; // Default to preserving objects
1886+ return false ; // Default to converting to arrays for PG14
18871887 }
18881888
18891889 // For CreateOpClassItem contexts, convert objname to arrays (PG14 expects arrays)
@@ -1893,7 +1893,7 @@ export class V13ToV14Transformer {
18931893
18941894 for ( const parentType of context . parentNodeTypes ) {
18951895 if ( convertToArrayContexts . includes ( parentType ) ) {
1896- return false ; // Convert to array for these contexts
1896+ return false ; // Convert to array for these contexts (PG14 format)
18971897 }
18981898 }
18991899
You can’t perform that action at this time.
0 commit comments