Skip to content

Commit b92f5c3

Browse files
authored
Merge pull request #686 from leancodepl/mass-transit-bump
Bump MassTransit and fix missing method
2 parents 9d9ac19 + 46a2b4e commit b92f5c3

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ExtensionsVersion>8.0.0</ExtensionsVersion>
66

77
<IdentityServerVersion>4.1.2</IdentityServerVersion>
8-
<MassTransitVersion>8.1.3</MassTransitVersion>
8+
<MassTransitVersion>8.2.4</MassTransitVersion>
99
<SystemIdentityModelVersion>7.3.1</SystemIdentityModelVersion>
1010

1111
<!-- Do not bump these dependencies if you don't want to force users to use newer .NET Core SDK -->

src/CQRS/LeanCode.CQRS.MassTransitRelay/MassTransitRegistrationConfigurationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static void AddConsumersWithDefaultConfiguration(
3030
Type defaultDefinition
3131
)
3232
{
33-
var outer = types.Where(MessageTypeCache.HasConsumerInterfaces);
33+
var outer = types.Where(RegistrationMetadata.IsConsumer);
3434
var inner = types.Where((Type x) => x.HasInterface(typeof(IConsumerDefinition<>)));
3535
var enumerable =
3636
from c in outer

test/LeanCode.IntegrationTests/TestDatabaseConfig.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ public override ConfigurationOverrides GetConfigurationOverrides() =>
5353

5454
public override void ConfigureDbContext(DbContextOptionsBuilder builder, IConfiguration config)
5555
{
56-
var dataSource = new NpgsqlDataSourceBuilder(config.GetValue<string>("Postgres:ConnectionString")).Build();
57-
builder.UseNpgsql(dataSource).AddTimestampTzExpressionInterceptor();
56+
builder.UseNpgsql(config.GetValue<string>("Postgres:ConnectionString")).AddTimestampTzExpressionInterceptor();
5857
}
5958

6059
public override void ConfigureMassTransitOutbox(IEntityFrameworkOutboxConfigurator configurator)

0 commit comments

Comments
 (0)