Skip to content

Commit 8b366d9

Browse files
committed
feat(identifiable): add default for generic
1 parent bbd2ccb commit 8b366d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/JsonApiDotNetCore/Models/Identifiable.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
namespace JsonApiDotNetCore.Models
22
{
3-
public abstract class Identifiable<T> : IIdentifiable<T>, IIdentifiable
3+
public class Identifiable : Identifiable<int>
4+
{}
5+
6+
public class Identifiable<T> : IIdentifiable<T>, IIdentifiable
47
{
58
public T Id { get; set; }
69

0 commit comments

Comments
 (0)