Skip to content

Commit 769faa9

Browse files
authored
Add comment to clarify CodeQL validation for TraceContextBase serialization (#1350)
1 parent 553d281 commit 769faa9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DurableTask.Core/TraceContextBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static TraceContextBase()
4141
{
4242
CustomJsonSerializerSettings = new JsonSerializerSettings()
4343
{
44+
// CodeQL [SM02211] Internal-only payload; Restore validates root $type is a TraceContextBase subclass.
4445
TypeNameHandling = TypeNameHandling.Objects,
4546
PreserveReferencesHandling = PreserveReferencesHandling.Objects,
4647
ReferenceLoopHandling = ReferenceLoopHandling.Serialize,

0 commit comments

Comments
 (0)