Skip to content

Commit

Permalink
Relaxed a few interface constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuck committed Dec 29, 2020
1 parent a76968a commit 8f0a21a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/YuckQi.Domain.Services/Abstract/ITypeEntityService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace YuckQi.Domain.Services.Abstract
{
public interface ITypeEntityService<T, in TKey> where T : TypeEntityBase<TKey> where TKey : struct
public interface ITypeEntityService<T, in TKey> where T : ITypeEntity<TKey> where TKey : struct
{
Task<Result<T>> CreateAsync(T entity);
Task<Result<T>> GetAsync(TKey key);
Expand Down
2 changes: 1 addition & 1 deletion src/YuckQi.Domain.Services/YuckQi.Domain.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Kevin J Lambert</Authors>
<Version>0.4.0</Version>
<Version>0.4.1</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Kevin J Lambert</Authors>
<Version>0.4.0</Version>
<Version>0.4.1</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/YuckQi.Domain/ValueObjects/Page.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Page(int page, int size)
#endregion
}

public readonly struct Page<T> : IPage where T : class
public readonly struct Page<T> : IPage
{
#region Properties

Expand Down
2 changes: 1 addition & 1 deletion src/YuckQi.Domain/YuckQi.Domain.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Kevin J Lambert</Authors>
<Version>0.4.0</Version>
<Version>0.4.1</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

Expand Down

0 comments on commit 8f0a21a

Please sign in to comment.