Skip to content

WarningsConfiguration is not propagated correctly in SQL Server provider #29069

@ajcvickers

Description

@ajcvickers

Relational warnings configuration is lost when applying SQL Server-specific warnings.

        coreOptionsExtension = RelationalOptionsExtension.WithDefaultWarningConfiguration(coreOptionsExtension)
            .WithWarningsConfiguration(
                coreOptionsExtension.WarningsConfiguration.TryWithExplicit(
                    SqlServerEventId.ConflictingValueGenerationStrategiesWarning, WarningBehavior.Throw));

Notice that the result of WithDefaultWarningConfiguration is not used to call coreOptionsExtension.WarningsConfiguration.TryWithExplicit.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions