Skip to content

Commit 4f45edb

Browse files
committed
Field should also use Equals()
1 parent b90796f commit 4f45edb

File tree

1 file changed

+1
-1
lines changed
  • src/Nest/CommonAbstractions/Infer/Field

1 file changed

+1
-1
lines changed

src/Nest/CommonAbstractions/Infer/Field/Field.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public override bool Equals(object obj)
7878
var other = obj as Field;
7979
if (other == null)
8080
return false;
81-
return ComparisonValue == other.ComparisonValue;
81+
return ComparisonValue.Equals(other.ComparisonValue);
8282
}
8383

8484
string IUrlParameter.GetString(IConnectionConfigurationValues settings)

0 commit comments

Comments
 (0)