Skip to content

Commit

Permalink
Migrate to .NET Core 3.1 completed
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrzybek committed Mar 4, 2020
1 parent 90ee5e8 commit b93dcaa
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1131,12 +1131,12 @@ List of features/tasks/approaches to add:
| Domain Model Unit Tests | High | Completed | 2019-09-10 |
| Architecture Decision Log update | High | Completed | 2019-11-09 |
| Integration automated tests | Normal | Completed | 2020-02-24 |
| Migration to .NET Core 3.1 | Low | Completed | 2020-03-04 |
| API automated tests | Normal | | |
| FrontEnd SPA application | Normal | | |
| Meeting comments feature | Low | | |
| Notifications feature | Low | | |
| Messages feature | Low | | |
| Migration to .NET Core 3.0 | Low | | |
| More advanced Payments module | Low | | |

NOTE: Please don't hesitate to suggest something else or a change to the existing code. All proposals will be considered.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class MeetingGroupProposal : Entity, IAggregateRoot
private MeetingGroupProposal()
{
// Only for EF.

_decision = MeetingGroupProposalDecision.NoDecision;
}

private MeetingGroupProposal(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac" Version="4.9.2" />
<PackageReference Include="Dapper" Version="2.0.30" />
<PackageReference Include="FluentValidation" Version="8.6.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using CompanyName.MyMeetings.BuildingBlocks.Domain;
using CompanyName.MyMeetings.Modules.Meetings.Application.Configuration.Commands;
using CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingGroupProposals;
using CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingGroups;
Expand All @@ -10,7 +9,7 @@

namespace CompanyName.MyMeetings.Modules.Meetings.Application.MeetingGroupProposals.ProposeMeetingGroup
{
internal class ProposeMeetingGroupCommandHandler : IRequestHandler<ProposeMeetingGroupCommand>
internal class ProposeMeetingGroupCommandHandler : ICommandHandler<ProposeMeetingGroupCommand>
{
private readonly IMeetingGroupProposalRepository _meetingGroupProposalRepository;
private readonly IMemberContext _memberContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac" Version="4.9.2" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.4.0" />
<PackageReference Include="MediatR" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ protected override void Load(ContainerBuilder builder)

builder.RegisterGenericDecorator(
typeof(UnitOfWorkCommandHandlerDecorator<>),
typeof(IRequestHandler<>));
typeof(ICommandHandler<>));

builder.RegisterGenericDecorator(
typeof(ValidationCommandHandlerDecorator<>),
typeof(IRequestHandler<>));
typeof(ICommandHandler<>));

builder.RegisterGenericDecorator(
typeof(LoggingCommandHandlerDecorator<>),
typeof(IRequestHandler<>));
typeof(ICommandHandler<>));

builder.RegisterGenericDecorator(
typeof(LoggingCommandHandlerWithResultDecorator<,>),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac" Version="4.9.2" />
<PackageReference Include="NetArchTest.Rules" Version="1.2.4" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac" Version="4.9.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.2" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.4.0" />
<PackageReference Include="Autofac.Extras.CommonServiceLocator" Version="6.0.0" />
<PackageReference Include="CommonServiceLocator" Version="2.0.5" />
<PackageReference Include="Dapper" Version="2.0.30" />
<PackageReference Include="FluentValidation" Version="8.6.2" />
<PackageReference Include="IdentityServer4" Version="3.1.2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.1.2" />
<PackageReference Include="Autofac" Version="4.9.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.2" />
</ItemGroup>
Expand Down

0 comments on commit b93dcaa

Please sign in to comment.