Enable ToJson support for complex types with primitive collections, JSON query, change tracking and types tests - MySQL and MariaDB (with test skips for known MariaDB differences) #669
Annotations
150 errors
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L305
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: False)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_empty_navigations(noTracking: True)
MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: False)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Project_null_required_navigation(async: True)
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Entity JsonEntityNested is required but t"···
Actual: "Sequence contains no elements"
↑ (pos 0)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: True)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Bad_json_properties_null_scalars(noTracking: False)
Assert.ThrowsAny() Failure: Exception type was not compatible
Expected: typeof(System.Text.Json.JsonException)
Actual: typeof(MySqlConnector.MySqlException)
---- MySqlConnector.MySqlException : Invalid JSON text: "Missing a name for object member." at position 1 in value for column 'Entities.OptionalReference'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Try_project_reference_but_JSON_is_collection
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.InvalidOperationException)
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: True):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.AdHocJsonQueryMySqlTest.Read_json_entity_collection_with_enum_properties_with_legacy_values(async: False):
test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs#L346
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.StringEnumValueInJson': A string value was read from JSON for enum 'IntEnumLegacyValues'. Starting with EF Core 8, a breaking change was made to store enum values in JSON as numbers by default. See https://aka.ms/efcore-docs-jsonenums for details. This exception can be suppressed or logged by passing event ID 'CoreEventId.StringEnumValueInJson' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.UpdatesMySqlTest.Can_change_enums_with_conversion
System.NullReferenceException : Object reference not set to an instance of an object.
|
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.UpdatesMySqlTest.Can_use_shared_columns_with_conversion
System.NullReferenceException : Object reference not set to an instance of an object.
|