Commit 0767e38 1 parent bbbfad1 commit 0767e38 Copy full SHA for 0767e38
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1145,11 +1145,17 @@ private void ApplyQueryWorkflow(QueryWorkflow query)
1145
1145
1146
1146
if ( query . QueryType == "__stack_trace" )
1147
1147
{
1148
- resultObj = GetStackTrace ( ) ;
1148
+ // Use raw value built from default converter because we don't want to use
1149
+ // user-conversion
1150
+ resultObj = new RawValue ( DataConverter . Default . PayloadConverter . ToPayload (
1151
+ GetStackTrace ( ) ) ) ;
1149
1152
}
1150
1153
else if ( query . QueryType == "__temporal_workflow_metadata" )
1151
1154
{
1152
- resultObj = GetWorkflowMetadata ( ) ;
1155
+ // Use raw value built from default converter because we don't want to use
1156
+ // user-conversion
1157
+ resultObj = new RawValue ( DataConverter . Default . PayloadConverter . ToPayload (
1158
+ GetWorkflowMetadata ( ) ) ) ;
1153
1159
}
1154
1160
else
1155
1161
{
You can’t perform that action at this time.
0 commit comments