Skip to content

Commit

Permalink
Merge pull request #1248 from swagger-api/issue-1237
Browse files Browse the repository at this point in the history
added Equals method from base model.
  • Loading branch information
HugoMario authored Feb 1, 2024
2 parents 68f3b84 + a331926 commit 7d29153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/handlebars/aspnetcore/model.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ namespace {{packageName}}.Models
{{name}} == other.{{name}} ||
{{name}} != null &&
{{name}}.SequenceEqual(other.{{name}})
){{#hasMore}} && {{/hasMore}}{{/isNotContainer}}{{/vars}}{{^vars}}false{{/vars}};
){{#hasMore}} && {{/hasMore}}{{/isNotContainer}}{{/vars}}{{^vars}}false{{/vars}}{{#parent}} && base.Equals(other){{/parent}};
}

/// <summary>
Expand Down

0 comments on commit 7d29153

Please sign in to comment.