fix(dbcontext): add conditional nullable annotation for ILogger parameter on .NET builds
This commit is contained in:
parent
53a656f6ee
commit
9472322c1d
@ -25,7 +25,11 @@ namespace EnvelopeGenerator.Infrastructure
|
|||||||
|
|
||||||
public class EGDbContext : EGDbContextBase
|
public class EGDbContext : EGDbContextBase
|
||||||
{
|
{
|
||||||
public EGDbContext(DbContextOptions<EGDbContext> options, IOptions<DbTriggerParams> triggerParamOptions, ILogger<EGDbContext>? logger = null) : base(options, triggerParamOptions, logger)
|
public EGDbContext(DbContextOptions<EGDbContext> options, IOptions<DbTriggerParams> triggerParamOptions, ILogger<EGDbContext>
|
||||||
|
#if NET
|
||||||
|
?
|
||||||
|
#endif
|
||||||
|
logger = null) : base(options, triggerParamOptions, logger)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user