Merge branch 'master' of https://github.com/fschlag/openapi-generator into fschlag-master3

This commit is contained in:
William Cheng 2019-05-01 21:00:12 +08:00
commit 4e7f1876b5
2 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,7 @@
(
this.{{name}} == input.{{name}} ||
this.{{name}} != null &&
input.{{name}} != null &&
this.{{name}}.SequenceEqual(input.{{name}})
){{#hasMore}} && {{/hasMore}}{{/isContainer}}{{/vars}}{{^vars}}{{#parent}}base.Equals(input){{/parent}}{{^parent}}false{{/parent}}{{/vars}};
{{/useCompareNetObjects}}

View File

@ -171,6 +171,7 @@ this.{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}};
(
this.{{name}} == input.{{name}} ||
this.{{name}} != null &&
input.{{name}} != null &&
this.{{name}}.SequenceEqual(input.{{name}})
){{#hasMore}} && {{/hasMore}}{{/isContainer}}{{/vars}}{{^vars}}{{#parent}}base.Equals(input){{/parent}}{{^parent}}false{{/parent}}{{/vars}};
}