fix(codegen): Removes unused json fields (#691)

This commit is contained in:
Kamron Batman 2021-08-17 09:51:08 -07:00 committed by GitHub
parent 28335ece88
commit 9b047d9d3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
462 changed files with 511 additions and 945 deletions

View file

@ -121,7 +121,7 @@ namespace SerializableMigration
Order = order,
UsesSaveFlag = serializablePropertyFlagGetter != null ? true : null,
Rule = rule.RuleName,
RuleArguments = ruleArguments
RuleArguments = ruleArguments.Length > 0 ? ruleArguments : null
};
}
}