fix(codegen): Fixes writing enums (#636)
This commit is contained in:
parent
cc5a8dc4fa
commit
e51334cc0f
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ namespace SerializableMigration
|
|||
throw new ArgumentException($"Invalid rule applied to property {ruleName}. Expecting {expectedRule}, but received {ruleName}.");
|
||||
}
|
||||
|
||||
source.AppendLine($"{indent}{property.Name} = reader.WriteEnum<{property.Type}>({property.Name});");
|
||||
source.AppendLine($"{indent}writer.WriteEnum<{property.Type}>({property.Name});");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue