From a08a3c83a95609d1257d809b94c69caabc235f68 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Tue, 6 Oct 2020 15:15:24 +0200 Subject: [PATCH] Fix warning --- .../DbContexts/ElsaContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs b/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs index 3671a58c3..4e7b7f4d5 100644 --- a/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs +++ b/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs @@ -35,7 +35,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.DbContexts /// The CustomSchemaModelCacheKeyFactory will not resolve services from the DI container for constructor injection /// so this is necessary in order to set the custom schema for the Model Cache. /// - internal IDbContextCustomSchema DbContextCustomSchema { get; } + internal IDbContextCustomSchema? DbContextCustomSchema { get; } public DbSet WorkflowDefinitionVersions { get; set; } public DbSet WorkflowInstances { get; set; }