fix(codegen): Fixes reference to parent while deserializing (#711)
This commit is contained in:
parent
c0a8672db3
commit
473e752606
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ namespace SerializationGenerator
|
|||
source,
|
||||
innerIndent,
|
||||
property,
|
||||
"this"
|
||||
parentFieldOrProperty?.Name ?? "this"
|
||||
);
|
||||
(rule as IPostDeserializeMethod)?.PostDeserializeMethod(source, innerIndent, property, compilation, classSymbol);
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ namespace SerializationGenerator
|
|||
source,
|
||||
indent,
|
||||
property,
|
||||
"this"
|
||||
parentFieldOrProperty?.Name ?? "this"
|
||||
);
|
||||
(rule as IPostDeserializeMethod)?.PostDeserializeMethod(source, indent, property, compilation, classSymbol);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue