-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target framework; some packages; removed mapster in favor of mapperly; removed newid in favor of the new guidv7 factory; dockerfile;
- Loading branch information
1 parent
70e83f3
commit a8cca62
Showing
19 changed files
with
50 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
- name: Setup dotnet | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '8.x' | ||
dotnet-version: '9.x' | ||
- name: Install dotnet-sonarscanner | ||
run: | | ||
dotnet tool install --global dotnet-sonarscanner | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Boilerplate.Application.Features.Heroes.CreateHero; | ||
using Boilerplate.Domain.Entities; | ||
using Riok.Mapperly.Abstractions; | ||
using System.Linq; | ||
|
||
namespace Boilerplate.Application.Features.Heroes; | ||
|
||
[Mapper] | ||
public static partial class Mapper | ||
{ | ||
public static partial Hero ToHeroEntity(CreateHeroRequest dto); | ||
Check warning on line 11 in src/Boilerplate.Application/Features/Heroes/Mapper.cs GitHub Actions / build
Check warning on line 11 in src/Boilerplate.Application/Features/Heroes/Mapper.cs GitHub Actions / build
Check warning on line 11 in src/Boilerplate.Application/Features/Heroes/Mapper.cs GitHub Actions / build
|
||
public static partial GetHeroResponse ToHeroDto(Hero entity); | ||
|
||
public static partial IQueryable<GetHeroResponse> ProjectToResponse(this IQueryable<Hero> source); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using MassTransit; | ||
using Microsoft.AspNetCore.Identity; | ||
using Microsoft.AspNetCore.Identity; | ||
using System; | ||
|
||
namespace Boilerplate.Infrastructure; | ||
|
||
public class ApplicationUser : IdentityUser<Guid> | ||
{ | ||
public override Guid Id { get; set; } = NewId.NextSequentialGuid(); | ||
public override Guid Id { get; set; } = Guid.CreateVersion7(); | ||
} | ||
|
||
public class ApplicationRole : IdentityRole<Guid> | ||
{ | ||
public override Guid Id { get; set; } = NewId.NextSequentialGuid(); | ||
public override Guid Id { get; set; } = Guid.CreateVersion7(); | ||
} |
2 changes: 1 addition & 1 deletion
2
src/Boilerplate.Infrastructure/Boilerplate.Infrastructure.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/Boilerplate.Api.IntegrationTests/Boilerplate.Api.IntegrationTests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/Boilerplate.Api.UnitTests/Boilerplate.Api.UnitTests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters