Skip to content

Commit

Permalink
(#401) users: registration services and documents
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Sep 1, 2024
1 parent 9062c49 commit c898556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static IConveyBuilder AddInfrastructure(this IConveyBuilder builder)
builder.Services.AddSingleton<IDateTimeProvider, DateTimeProvider>();
builder.Services.AddSingleton<IEventMapper, EventMapper>();
builder.Services.AddTransient<IMessageBroker, MessageBroker>();
builder.Services.AddTransient<IDeviceInfoService, DeviceInfoService>();
builder.Services.AddTransient<IAppContextFactory, AppContextFactory>();
builder.Services.AddTransient(ctx => ctx.GetRequiredService<IAppContextFactory>().Create());
builder.Services.TryDecorate(typeof(ICommandHandler<>), typeof(OutboxCommandHandlerDecorator<>));
Expand All @@ -82,6 +83,7 @@ public static IConveyBuilder AddInfrastructure(this IConveyBuilder builder)
.AddMongoRepository<UserNotificationsDocument, Guid>("user-notifications")
.AddMongoRepository<UserSettingsDocument, Guid>("user-settings")
.AddMongoRepository<UserGalleryDocument, Guid>("user-gellery")
.AddMongoRepository<UserProfileViewsDocument, Guid>("user_profile_views")
.AddWebApiSwaggerDocs()
.AddCertificateAuthentication()
.AddSecurity();
Expand Down

This file was deleted.

0 comments on commit c898556

Please sign in to comment.