Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 92cb497

Browse files
Lukas BehalLukas Behal
authored andcommitted
build break fix - removed missed new constrain which is not required anymore
1 parent 84e4758 commit 92cb497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Ordering/Ordering.Domain/SeedWork/Enumeration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static T FromDisplayName<T>(string displayName) where T : Enumeration
6262
return matchingItem;
6363
}
6464

65-
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration, new()
65+
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration
6666
{
6767
var matchingItem = GetAll<T>().FirstOrDefault(predicate);
6868

0 commit comments

Comments
 (0)