Skip to content

Commit d10e8f3

Browse files
committed
HCK-13422: fix the conversion of type uniqueidentifier to polyglot and back
1 parent c182bf7 commit d10e8f3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

polyglot/adapter.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@
119119
}
120120
}
121121
}
122-
]
122+
],
123+
{
124+
"from": { "childType": "uuid" },
125+
"to": { "mode": "uniqueidentifier" }
126+
}
123127
]
124128
}
125129
}

polyglot/convertAdapter.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
{
5858
"from": { "type": "json" },
5959
"to": { "mode": "json" }
60+
},
61+
{
62+
"from": { "childType": "uniqueidentifier" },
63+
"to": { "mode": "uuid" }
6064
}
6165
]
6266
},

0 commit comments

Comments
 (0)