fix(codegen): Removes unused json fields (#691)
This commit is contained in:
parent
28335ece88
commit
9b047d9d3f
462 changed files with 511 additions and 945 deletions
|
|
@ -358,7 +358,7 @@ namespace SerializationGenerator
|
|||
{
|
||||
Version = version,
|
||||
Type = classSymbol.ToDisplayString(),
|
||||
Properties = serializableProperties
|
||||
Properties = serializableProperties.Length > 0 ? serializableProperties : null
|
||||
};
|
||||
|
||||
WriteMigration(migrationPath, newMigration, jsonSerializerOptions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue