Skip to content

Commit 101eab4

Browse files
committed
Use HashSet for errors metric
To prevent duplicates.
1 parent 245adc3 commit 101eab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/explorer.api/Models/ExploreResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public ExploreResult(Guid explorationId, Exploration exploration)
4848

4949
public List<List<object?>> SampleData { get; }
5050

51-
public List<string> Errors { get; } = new List<string>();
51+
public HashSet<string> Errors { get; } = new HashSet<string>();
5252

5353
public void AddErrorMessage(string message)
5454
{

0 commit comments

Comments
 (0)