Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
Update SwabbrInfrastructureServiceCollectionExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
tabeckers committed Nov 17, 2020
1 parent b159e23 commit 13278c9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Microsoft.Extensions.DependencyInjection;
using Swabbr.Core.Interfaces.Repositories;
using Swabbr.Core.Interfaces.Services;
using Swabbr.Core.Notifications;
using Swabbr.Infrastructure.Database;
using Swabbr.Infrastructure.Notifications;
using Swabbr.Infrastructure.Notifications.JsonExtraction;
using Swabbr.Infrastructure.Providers;
using Swabbr.Infrastructure.Repositories;
using System;
Expand All @@ -31,6 +29,7 @@ public static IServiceCollection AddSwabbrInfrastructureServices(this IServiceCo
}

// Add postgresql database functionality
// TODO This is entirely Dapper specific. This will be removed in the future.
NpgsqlSetup.Setup();
services.AddTransient<IDatabaseProvider, NpgsqlDatabaseProvider>();
services.Configure<NpgsqlDatabaseProviderOptions>(options =>
Expand Down

0 comments on commit 13278c9

Please sign in to comment.