diff --git a/src/CookieCrumble/src/CookieCrumble/Extensions/SnapshotExtensions.cs b/src/CookieCrumble/src/CookieCrumble/Extensions/SnapshotExtensions.cs index a910a88e9e8..9d958796d83 100644 --- a/src/CookieCrumble/src/CookieCrumble/Extensions/SnapshotExtensions.cs +++ b/src/CookieCrumble/src/CookieCrumble/Extensions/SnapshotExtensions.cs @@ -75,7 +75,6 @@ public static Snapshot AddResult( string.IsNullOrEmpty(name) ? "Result:" : $"{name} Result:"); - snapshot.SetPostFix(TestEnvironment.TargetFramework); if (result.ContextData.TryGetValue("query", out var queryResult) && queryResult is string queryString && diff --git a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/EntityFrameworkResolverCompilerIntegrationTests.DBContext_On_Queries_Is_Scoped.snap b/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/EntityFrameworkResolverCompilerIntegrationTests.DBContext_On_Queries_Is_Scoped.snap deleted file mode 100644 index c3511f95d85..00000000000 --- a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/EntityFrameworkResolverCompilerIntegrationTests.DBContext_On_Queries_Is_Scoped.snap +++ /dev/null @@ -1,15 +0,0 @@ -{ - "data": { - "books": [ - { - "title": "Foo1" - }, - { - "title": "Bar1" - }, - { - "title": "Baz1" - } - ] - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContextType_Is_Object.snap b/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContextType_Is_Object.snap deleted file mode 100644 index c88b1291efa..00000000000 --- a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContextType_Is_Object.snap +++ /dev/null @@ -1,3 +0,0 @@ -For more details look at the `Errors` property. - -1. The `System.Object` must inherit from `Microsoft.EntityFrameworkCore`. diff --git a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContext_ResolverExtension_Missing_DbContext.snap b/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContext_ResolverExtension_Missing_DbContext.snap deleted file mode 100644 index 2b29d483ebf..00000000000 --- a/src/HotChocolate/Data/test/Data.EntityFramework.Tests/__snapshots__/UseDbContextTests.DbContext_ResolverExtension_Missing_DbContext.snap +++ /dev/null @@ -1,19 +0,0 @@ -{ - "errors": [ - { - "message": "A DbContext of type `HotChocolate.Data.BookContext` could not be retrieved from the `LocalContextData`. Most likely the `UseDbContext()` middleware is missing.", - "locations": [ - { - "line": 2, - "column": 21 - } - ], - "path": [ - "booksWithMissingContext" - ] - } - ], - "data": { - "booksWithMissingContext": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorBooleanTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorBooleanTests.cs index 5c2c2dc81c9..01c9827fd42 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorBooleanTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorBooleanTests.cs @@ -126,7 +126,7 @@ public async Task Create_NullableBooleanNotEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "true") .AddResult(res2, "false") .AddResult(res3, "null") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorComparableTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorComparableTests.cs index 3f524eb35ef..2d6e30c069e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorComparableTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorComparableTests.cs @@ -404,7 +404,7 @@ public async Task Create_ShortIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "nullAnd14") @@ -435,7 +435,7 @@ public async Task Create_ShortNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "nullAnd14") @@ -497,7 +497,7 @@ public async Task Create_ShortNullableNotEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12") .AddResult(res2, "13") .AddResult(res3, "null") @@ -824,7 +824,7 @@ public async Task Create_ShortNullableIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "13andNull") @@ -855,7 +855,7 @@ public async Task Create_ShortNullableNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "13andNull") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorEnumTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorEnumTests.cs index fa663103f7e..8904ceb1e82 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorEnumTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorEnumTests.cs @@ -110,7 +110,7 @@ public async Task Create_EnumIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") @@ -141,7 +141,7 @@ public async Task Create_EnumNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") @@ -204,7 +204,7 @@ public async Task Create_NullableEnumNotEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BAR") .AddResult(res2, "FOO") .AddResult(res3, "null") @@ -235,7 +235,7 @@ public async Task Create_NullableEnumIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") @@ -266,7 +266,7 @@ public async Task Create_NullableEnumNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorExpressionTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorExpressionTests.cs index f3f780289cd..986118deaea 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorExpressionTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorExpressionTests.cs @@ -55,7 +55,7 @@ public async Task Create_StringConcatExpression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "Sam_Sampleman") .AddResult(res2, "NoMatch") .AddResult(res3, "null") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorListTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorListTests.cs index 72d4ef377b7..f07a001232b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorListTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorListTests.cs @@ -97,7 +97,7 @@ public async Task Create_ArraySomeObjectStringEqualWithNull_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "d") .AddResult(res3, "null") @@ -131,7 +131,7 @@ public async Task Create_ArrayNoneObjectStringEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "d") .AddResult(res3, "null") @@ -165,7 +165,7 @@ public async Task Create_ArrayAllObjectStringEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "d") .AddResult(res3, "null") @@ -199,7 +199,7 @@ public async Task Create_ArrayAnyObjectStringEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "false") .AddResult(res2, "true") .AddResult(res3, "null") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorObjectTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorObjectTests.cs index 1feb0bae597..83897f13f4e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorObjectTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorObjectTests.cs @@ -174,7 +174,7 @@ public async Task Create_ObjectShortIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "nullAnd14") @@ -248,7 +248,7 @@ public async Task Create_ObjectNullableShortIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "12and13") .AddResult(res2, "13and14") .AddResult(res3, "13andNull") @@ -388,7 +388,7 @@ public async Task Create_ObjectEnumIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") @@ -463,7 +463,7 @@ public async Task Create_ObjectNullableEnumIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "BarAndFoo") .AddResult(res2, "FOO") .AddResult(res3, "nullAndFoo") @@ -537,7 +537,7 @@ public async Task Create_ObjectStringIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatestAndtestb") .AddResult(res2, "testbtestAndNull") .AddResult(res3, "testatest") @@ -577,7 +577,7 @@ public async Task Create_ArrayObjectNestedArraySomeStringEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "b") .AddResult(res3, "null") @@ -614,7 +614,7 @@ public async Task Create_ArrayObjectNestedArrayAnyStringEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "false") .AddResult(res2, "true") .AddResult(res3, "null") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorStringTests.cs b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorStringTests.cs index f6721c13e69..9145d3be7ba 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorStringTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/QueryableFilterVisitorStringTests.cs @@ -107,7 +107,7 @@ public async Task Create_StringIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatestAndtestb") .AddResult(res2, "testbtestAndNull") .AddResult(res3, "testatest") @@ -139,7 +139,7 @@ public async Task Create_StringNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatestAndtestb") .AddResult(res2, "testbtestAndNull") .AddResult(res3, "testatest") @@ -170,7 +170,7 @@ public async Task Create_StringContains_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "b") .AddResult(res3, "null") @@ -201,7 +201,7 @@ public async Task Create_StringNoContains_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "b") .AddResult(res3, "null") @@ -233,7 +233,7 @@ public async Task Create_StringStartsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testa") .AddResult(res2, "testb") .AddResult(res3, "null") @@ -264,7 +264,7 @@ public async Task Create_StringNotStartsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testa") .AddResult(res2, "testb") .AddResult(res3, "null") @@ -295,7 +295,7 @@ public async Task Create_StringEndsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "atest") .AddResult(res2, "btest") .AddResult(res3, "null") @@ -326,7 +326,7 @@ public async Task Create_StringNotEndsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "atest") .AddResult(res2, "btest") .AddResult(res3, "null") @@ -389,7 +389,7 @@ public async Task Create_NullableStringNotEqual_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatest") .AddResult(res2, "testbtest") .AddResult(res3, "null") @@ -421,7 +421,7 @@ public async Task Create_NullableStringIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatestAndtestb") .AddResult(res2, "testbtestAndNull") .AddResult(res3, "testatest") @@ -454,7 +454,7 @@ public async Task Create_NullableStringNotIn_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testatestAndtestb") .AddResult(res2, "testbtestAndNull") .AddResult(res3, "testatest") @@ -486,7 +486,7 @@ public async Task Create_NullableStringContains_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "b") .AddResult(res3, "null") @@ -517,7 +517,7 @@ public async Task Create_NullableStringNoContains_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "a") .AddResult(res2, "b") .AddResult(res3, "null") @@ -549,7 +549,7 @@ public async Task Create_NullableStringStartsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testa") .AddResult(res2, "testb") .AddResult(res3, "null") @@ -581,7 +581,7 @@ public async Task Create_NullableStringNotStartsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "testa") .AddResult(res2, "testb") .AddResult(res3, "null") @@ -613,7 +613,7 @@ public async Task Create_NullableStringEndsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "atest") .AddResult(res2, "btest") .AddResult(res3, "null") @@ -646,7 +646,7 @@ public async Task Create_NullableStringNotEndsWith_Expression() // assert await Snapshot - .Create() + .Create(postFix: TestEnvironment.TargetFramework) .AddResult(res1, "atest") .AddResult(res2, "btest") .AddResult(res3, "null") diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index bcaee35acb1..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index bcaee35acb1..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 939efa45efc..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 939efa45efc..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 1acea75d7a1..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 1acea75d7a1..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap deleted file mode 100644 index a17939f55fa..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap deleted file mode 100644 index a17939f55fa..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 99ff8e2b063..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 99ff8e2b063..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 4e8fb7b75a3..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 4e8fb7b75a3..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 640e056d88f..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 640e056d88f..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap deleted file mode 100644 index c48d26fdcb3..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap deleted file mode 100644 index c48d26fdcb3..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 8a60b5a2115..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <> @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 8a60b5a2115..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <> @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 7c5543b5641..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 7c5543b5641..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 667b53e2d47..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 667b53e2d47..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 290cddb29de..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 290cddb29de..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 3c7f19803ea..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 3c7f19803ea..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap deleted file mode 100644 index e64920be970..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap deleted file mode 100644 index e64920be970..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 2f039cb53a5..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 2f039cb53a5..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" >= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index f1e76dbc41d..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index f1e76dbc41d..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" > @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 3cb54d1be73..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 3cb54d1be73..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" <= @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap deleted file mode 100644 index c65fb798240..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap deleted file mode 100644 index c65fb798240..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE "d"."BarShort" < @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 37eb74945d2..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 37eb74945d2..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" >= @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 03b11dadb36..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 03b11dadb36..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" > @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index e8103028e21..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index e8103028e21..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" <= @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index e717649b1f7..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index e717649b1f7..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,102 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -.param set @__p_0 14 - -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -WHERE NOT ("d"."BarShort" < @__p_0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap deleted file mode 100644 index fee4eb3d4af..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap deleted file mode 100644 index fee4eb3d4af..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 5432abc2324..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,83 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" <> @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 5432abc2324..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,83 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" <> @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index f313eae7a6e..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index f313eae7a6e..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -WHERE "d"."BarEnum" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap deleted file mode 100644 index 55163c748e4..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 55163c748e4..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap deleted file mode 100644 index d4617d5800e..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index d4617d5800e..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap deleted file mode 100644 index 46a9da34a95..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 46a9da34a95..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap deleted file mode 100644 index 20e61da3c59..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 20e61da3c59..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap deleted file mode 100644 index 68ee52add58..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -1 Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -1 SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -WHERE ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") = @__p_0 ---------------- - -0 Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -0 SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -WHERE ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type IntOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Int!", - "filterType": "IntOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap deleted file mode 100644 index 68ee52add58..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -1 Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -1 SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -WHERE ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") = @__p_0 ---------------- - -0 Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -0 SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -WHERE ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type IntOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Int!", - "filterType": "IntOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 30f200ccb38..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -.param set @__p_0 'a' - -SELECT "d"."Id", "d"."TestId" -FROM "Data" AS "d" -INNER JOIN "Test" AS "t" ON "d"."TestId" = "t"."Id" -WHERE "t"."Prop" = @__p_0 ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -.param set @__p_0 'b' - -SELECT "d"."Id", "d"."TestId" -FROM "Data" AS "d" -INNER JOIN "Test" AS "t" ON "d"."TestId" = "t"."Id" -WHERE "t"."Prop" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 30f200ccb38..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -.param set @__p_0 'a' - -SELECT "d"."Id", "d"."TestId" -FROM "Data" AS "d" -INNER JOIN "Test" AS "t" ON "d"."TestId" = "t"."Id" -WHERE "t"."Prop" = @__p_0 ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -.param set @__p_0 'b' - -SELECT "d"."Id", "d"."TestId" -FROM "Data" AS "d" -INNER JOIN "Test" AS "t" ON "d"."TestId" = "t"."Id" -WHERE "t"."Prop" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 9631408fff9..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 9631408fff9..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 3369f483965..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 3369f483965..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index d926087a0f8..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index d926087a0f8..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,92 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarBool" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 19dd8f2cbb0..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 19dd8f2cbb0..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -.param set @__p_0 1 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -.param set @__p_0 0 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarEnum" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap deleted file mode 100644 index f9fa821e049..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap deleted file mode 100644 index f9fa821e049..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap deleted file mode 100644 index bfa7f565a8d..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap deleted file mode 100644 index bfa7f565a8d..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,82 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -.param set @__p_0 12 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -.param set @__p_0 13 - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarShort" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index e9902a99e08..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,87 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarString" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarString" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index e9902a99e08..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,87 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarString" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -WHERE "f"."BarString" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 9729777a87f..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 9729777a87f..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" IS NULL ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap deleted file mode 100644 index d7944d2311b..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap deleted file mode 100644 index d7944d2311b..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" = @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index c7eb9403233..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index c7eb9403233..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -.param set @__p_0 'testatest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -.param set @__p_0 'testbtest' - -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -WHERE "d"."Bar" <> @__p_0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware.snap index 373c280e7ce..7ccd948a1b6 100644 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware.snap +++ b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap deleted file mode 100644 index 7ccd948a1b6..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering was not found. Register filtering with [UseFiltering] or descriptor.UseFiltering(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap deleted file mode 100644 index 7ccd948a1b6..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering was not found. Register filtering with [UseFiltering] or descriptor.UseFiltering(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap deleted file mode 100644 index 7ccd948a1b6..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering was not found. Register filtering with [UseFiltering] or descriptor.UseFiltering(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch.snap index db15b670fb4..5c508686550 100644 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch.snap +++ b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap deleted file mode 100644 index 5c508686550..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Filters.QueryableFilteringExtensionsTests+Foo, HotChocolate.Data.Filters.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap deleted file mode 100644 index 5c508686550..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Filters.QueryableFilteringExtensionsTests+Foo, HotChocolate.Data.Filters.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap deleted file mode 100644 index 5c508686550..00000000000 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/__snapshots__/QueryableFilteringExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Filtering is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Filters.QueryableFilteringExtensionsTests+Foo, HotChocolate.Data.Filters.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap deleted file mode 100644 index 194b934c7c5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 2, - "column": 25 - } - ], - "path": [ - "rootExecutable" - ] - } - ], - "data": { - "rootExecutable": null - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableFirstOrDefaultTests+Bar] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap deleted file mode 100644 index 194b934c7c5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 2, - "column": 25 - } - ], - "path": [ - "rootExecutable" - ] - } - ], - "data": { - "rootExecutable": null - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableFirstOrDefaultTests+Bar] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware.snap index 9996673dd10..97df417ce81 100644 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware.snap +++ b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap deleted file mode 100644 index 97df417ce81..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection was not found. Register projection with [UseProjection] or descriptor.UseProjection(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap deleted file mode 100644 index 97df417ce81..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection was not found. Register projection with [UseProjection] or descriptor.UseProjection(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap deleted file mode 100644 index 97df417ce81..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection was not found. Register projection with [UseProjection] or descriptor.UseProjection(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch.snap index 0fbba9e417f..9dd61ef1e9b 100644 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch.snap +++ b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap deleted file mode 100644 index 9dd61ef1e9b..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Projections.QueryableProjectionExtensionsTests+Foo, HotChocolate.Data.Projections.SqlServer.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap deleted file mode 100644 index 9dd61ef1e9b..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Projections.QueryableProjectionExtensionsTests+Foo, HotChocolate.Data.Projections.SqlServer.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap deleted file mode 100644 index 9dd61ef1e9b..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Projections.QueryableProjectionExtensionsTests+Foo, HotChocolate.Data.Projections.SqlServer.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index b403fe7c1e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index b403fe7c1e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap deleted file mode 100644 index 9b0f18aea0e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT "f"."Id" IS NOT NULL, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT "f0"."Id" IS NOT NULL AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooNullableId" - FROM "BarNullableDeep" AS "b" - LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooNullableId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index 9b0f18aea0e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT "f"."Id" IS NOT NULL, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT "f0"."Id" IS NOT NULL AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooNullableId" - FROM "BarNullableDeep" AS "b" - LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooNullableId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index 2ee88513b2e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index 2ee88513b2e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap deleted file mode 100644 index 2fce155c2ea..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT "f"."Id" IS NOT NULL, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT "f0"."Id" IS NOT NULL AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooNullableId" - FROM "BarNullableDeep" AS "b" - LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooNullableId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 2fce155c2ea..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -.param set @__p_0 'a' - -SELECT "f"."Id" IS NOT NULL, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT "f0"."Id" IS NOT NULL AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooNullableId" - FROM "BarNullableDeep" AS "b" - LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" - WHERE "f0"."BarString" = @__p_0 -) AS "t" ON "f"."Id" = "t"."FooNullableId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap deleted file mode 100644 index 29806df5b9b..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "foo": { - "id": 1, - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "id": 2, - "foo": { - "id": 2, - "barEnum": "FOO", - "nestedObject": null - } - }, - { - "id": 3, - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "f"."Id" IS NOT NULL, "f"."Id", "f"."BarEnum", "b"."Id" IS NOT NULL, "f0"."Id" IS NOT NULL, "f0"."BarString" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN "BarNullableDeep" AS "b" ON "f"."NestedObjectId" = "b"."Id" -LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap deleted file mode 100644 index 29806df5b9b..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "foo": { - "id": 1, - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "id": 2, - "foo": { - "id": 2, - "barEnum": "FOO", - "nestedObject": null - } - }, - { - "id": 3, - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "f"."Id" IS NOT NULL, "f"."Id", "f"."BarEnum", "b"."Id" IS NOT NULL, "f0"."Id" IS NOT NULL, "f0"."BarString" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN "BarNullableDeep" AS "b" ON "f"."NestedObjectId" = "b"."Id" -LEFT JOIN "FooDeep" AS "f0" ON "b"."FooId" = "f0"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap deleted file mode 100644 index 2f268b7ad83..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "id": 1 - } - }, - { - "foo": { - "id": 2 - } - }, - { - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "f"."Id" IS NOT NULL, "f"."Id" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap deleted file mode 100644 index 2f268b7ad83..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "id": 1 - } - }, - { - "foo": { - "id": 2 - } - }, - { - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "f"."Id" IS NOT NULL, "f"."Id" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap deleted file mode 100644 index d6d1b9dc22f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "foo": { - "id": 1, - "barEnum": "BAR" - } - }, - { - "id": 2, - "foo": { - "id": 2, - "barEnum": "FOO" - } - }, - { - "id": 3, - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "f"."Id" IS NOT NULL, "f"."Id", "f"."BarEnum" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap deleted file mode 100644 index d6d1b9dc22f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "foo": { - "id": 1, - "barEnum": "BAR" - } - }, - { - "id": 2, - "foo": { - "id": 2, - "barEnum": "FOO" - } - }, - { - "id": 3, - "foo": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "f"."Id" IS NOT NULL, "f"."Id", "f"."BarEnum" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap deleted file mode 100644 index ad90e256992..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET8_0.snap deleted file mode 100644 index ad90e256992..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap deleted file mode 100644 index 6b995938fab..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "list": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - }, - { - "list": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "a"."d" = 'bar', "a"."Name", "a"."BarProp", "a"."d" = 'foo', "a"."FooProp", "a"."Id" -FROM "Data" AS "d" -LEFT JOIN "AbstractType" AS "a" ON "d"."Id" = "a"."NestedListId" -ORDER BY "d"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET8_0.snap deleted file mode 100644 index 6b995938fab..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "list": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - }, - { - "list": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "a"."d" = 'bar', "a"."Name", "a"."BarProp", "a"."d" = 'foo', "a"."FooProp", "a"."Id" -FROM "Data" AS "d" -LEFT JOIN "AbstractType" AS "a" ON "d"."Id" = "a"."NestedListId" -ORDER BY "d"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap deleted file mode 100644 index 2876e192124..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "nested": { - "name": "Bar", - "barProp": "BarProp" - } - }, - { - "nested": { - "name": "Foo", - "fooProp": "FooProp" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "a"."d" = 'bar', "a"."Name", "a"."BarProp", "a"."d" = 'foo', "a"."FooProp" -FROM "Data" AS "d" -INNER JOIN "AbstractType" AS "a" ON "d"."NestedId" = "a"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET8_0.snap deleted file mode 100644 index 2876e192124..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "nested": { - "name": "Bar", - "barProp": "BarProp" - } - }, - { - "nested": { - "name": "Foo", - "fooProp": "FooProp" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "a"."d" = 'bar', "a"."Name", "a"."BarProp", "a"."d" = 'foo', "a"."FooProp" -FROM "Data" AS "d" -INNER JOIN "AbstractType" AS "a" ON "d"."NestedId" = "a"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap deleted file mode 100644 index 91d34cef1cf..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "root": { - "nodes": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap deleted file mode 100644 index 91d34cef1cf..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "root": { - "nodes": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET8_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET8_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap deleted file mode 100644 index d44cee5cca5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET8_0.snap deleted file mode 100644 index d44cee5cca5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap deleted file mode 100644 index 8e5dc66b99f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET8_0.snap deleted file mode 100644 index 8e5dc66b99f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap deleted file mode 100644 index 198e021da83..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "methodList": [ - { - "barString": "Worked" - } - ] - }, - { - "methodList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap deleted file mode 100644 index 198e021da83..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "methodList": [ - { - "barString": "Worked" - } - ] - }, - { - "methodList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap deleted file mode 100644 index 8643ecb2197..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "method": { - "barString": "Worked" - } - }, - { - "method": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap deleted file mode 100644 index 8643ecb2197..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "method": { - "barString": "Worked" - } - }, - { - "method": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap deleted file mode 100644 index db989db0930..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - }, - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap deleted file mode 100644 index db989db0930..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - }, - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap deleted file mode 100644 index 9c9b29a813c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": { - "barString": "Worked" - } - }, - { - "notSettable": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap deleted file mode 100644 index 9c9b29a813c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": { - "barString": "Worked" - } - }, - { - "notSettable": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap deleted file mode 100644 index 93608e306d4..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap deleted file mode 100644 index 93608e306d4..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index f80bf5b52e0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,46 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index b3631807839..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,48 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index cb8fa3310f0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."BarShort", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index cb8fa3310f0..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."BarShort", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index ea8fc856e74..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 6, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index adf7ed325a7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."BarShort", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index adf7ed325a7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "f"."BarString", "d"."Id", "f"."Id", "t"."c", "t"."BarString", "t"."BarShort", "t"."Id", "t"."Id0" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -LEFT JOIN ( - SELECT 1 AS "c", "f0"."BarString", "f0"."BarShort", "b"."Id", "f0"."Id" AS "Id0", "b"."FooId" - FROM "BarDeep" AS "b" - INNER JOIN "FooDeep" AS "f0" ON "b"."FooId1" = "f0"."Id" -) AS "t" ON "f"."Id" = "t"."FooId" -ORDER BY "d"."Id", "f"."Id", "t"."BarShort", "t"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 7f977eb678a..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 7, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap deleted file mode 100644 index 5efc8644ed9..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET8_0.snap deleted file mode 100644 index 5efc8644ed9..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap deleted file mode 100644 index f5dcf629cd6..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap +++ /dev/null @@ -1,37 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "list": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - }, - { - "list": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "a"."d" = 'bar', "a"."BarProp", "a"."d" = 'foo', "a"."FooProp", "a"."Id" -FROM "Data" AS "d" -LEFT JOIN "AbstractType" AS "a" ON "d"."Id" = "a"."NestedListId" -ORDER BY "d"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET8_0.snap deleted file mode 100644 index f5dcf629cd6..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET8_0.snap +++ /dev/null @@ -1,37 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "list": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - }, - { - "list": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Id", "a"."d" = 'bar', "a"."BarProp", "a"."d" = 'foo', "a"."FooProp", "a"."Id" -FROM "Data" AS "d" -LEFT JOIN "AbstractType" AS "a" ON "d"."Id" = "a"."NestedListId" -ORDER BY "d"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap deleted file mode 100644 index 60a1884f069..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "nested": { - "barProp": "BarProp" - } - }, - { - "nested": { - "fooProp": "FooProp" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "a"."d" = 'bar', "a"."BarProp", "a"."d" = 'foo', "a"."FooProp" -FROM "Data" AS "d" -INNER JOIN "AbstractType" AS "a" ON "d"."NestedId" = "a"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET8_0.snap deleted file mode 100644 index 60a1884f069..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "nested": { - "barProp": "BarProp" - } - }, - { - "nested": { - "fooProp": "FooProp" - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1, "a"."d" = 'bar', "a"."BarProp", "a"."d" = 'foo', "a"."FooProp" -FROM "Data" AS "d" -INNER JOIN "AbstractType" AS "a" ON "d"."NestedId" = "a"."Id" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap deleted file mode 100644 index 27dfeb8e986..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap +++ /dev/null @@ -1,14 +0,0 @@ -{ - "data": { - "root": { - "nodes": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap deleted file mode 100644 index 27dfeb8e986..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap +++ /dev/null @@ -1,14 +0,0 @@ -{ - "data": { - "root": { - "nodes": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET7_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET8_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET8_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap deleted file mode 100644 index e2b094e0505..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap deleted file mode 100644 index e2b094e0505..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap deleted file mode 100644 index d48073f7f2e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap deleted file mode 100644 index d48073f7f2e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap deleted file mode 100644 index e5483882ddf..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap deleted file mode 100644 index e5483882ddf..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[HotChocolate.Data.Projections.QueryableProjectionVisitorExecutableTests+Foo] ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap deleted file mode 100644 index e7bc39905fd..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue1", "d"."IsProjectedTrue2", "d"."IsProjectedTrue3" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap deleted file mode 100644 index e7bc39905fd..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue1", "d"."IsProjectedTrue2", "d"."IsProjectedTrue3" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap deleted file mode 100644 index bae4d7cb612..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap deleted file mode 100644 index bae4d7cb612..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap deleted file mode 100644 index bae4d7cb612..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap deleted file mode 100644 index bae4d7cb612..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap deleted file mode 100644 index 51729f02d2a..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap deleted file mode 100644 index 51729f02d2a..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."IsProjectedTrue" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap deleted file mode 100644 index 811cefef654..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap deleted file mode 100644 index 811cefef654..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap deleted file mode 100644 index 5e91446ca3c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "b": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "a": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap deleted file mode 100644 index 5e91446ca3c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "b": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "a": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index 8dea8cbcd3d..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index 8dea8cbcd3d..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index 3705d56229c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,32 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index 3705d56229c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,32 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index fb1d2fcaa1a..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index fb1d2fcaa1a..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index da83e50186f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index da83e50186f..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index b54a9a81bca..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index b54a9a81bca..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index a42ec98505e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index a42ec98505e..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index d83ee1b6141..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index d83ee1b6141..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index 123eb47b5d5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index 123eb47b5d5..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap deleted file mode 100644 index 89542a4b804..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap deleted file mode 100644 index 89542a4b804..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index 474d8e5a4c7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,39 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index 474d8e5a4c7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,39 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index 44a4b51c266..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index 44a4b51c266..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index d2df78f9633..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index d2df78f9633..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap deleted file mode 100644 index e60f8579986..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap deleted file mode 100644 index e60f8579986..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap deleted file mode 100644 index c8d7deefa58..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap deleted file mode 100644 index c8d7deefa58..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index b4735fa4205..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,39 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index b4735fa4205..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,39 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index f7d2ebbe464..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index f7d2ebbe464..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index a0ed254d135..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index a0ed254d135..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index fc2c6fb8fe8..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index fc2c6fb8fe8..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index ce6fb11569c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index ce6fb11569c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz", "d"."Bar" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index bc33c16f82c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index bc33c16f82c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index f29e12debd1..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index f29e12debd1..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap deleted file mode 100644 index 1f531f3a669..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "computed": "Foo" - }, - { - "computed": "Foo" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap deleted file mode 100644 index 1f531f3a669..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "computed": "Foo" - }, - { - "computed": "Foo" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap deleted file mode 100644 index 6ea22bd4e40..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": null - }, - { - "notSettable": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap deleted file mode 100644 index 6ea22bd4e40..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": null - }, - { - "notSettable": null - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT 1 -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap deleted file mode 100644 index 4fcfac55a71..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap deleted file mode 100644 index 4fcfac55a71..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap deleted file mode 100644 index 01540cabc2c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap deleted file mode 100644 index 01540cabc2c..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap deleted file mode 100644 index cc8621d9eb7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap deleted file mode 100644 index cc8621d9eb7..00000000000 --- a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."Bar", "d"."Baz" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/QueryableSortVisitorExpressionTests.cs b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/QueryableSortVisitorExpressionTests.cs index c9ae6e02f70..8502190a007 100644 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/QueryableSortVisitorExpressionTests.cs +++ b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/QueryableSortVisitorExpressionTests.cs @@ -41,7 +41,7 @@ public async Task Create_StringConcatExpression() await SnapshotExtensions.AddResult( SnapshotExtensions.AddResult( Snapshot - .Create(), res1, "DESC"), res2, "ASC") + .Create(postFix: TestEnvironment.TargetFramework), res1, "DESC"), res2, "ASC") .MatchAsync(); } diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 9986be619f7..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 9986be619f7..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap deleted file mode 100644 index f6dc0fae719..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap deleted file mode 100644 index f6dc0fae719..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarDecimal", "d"."BarDouble", "d"."BarFloat", "d"."BarInt", "d"."BarLong", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 20b33176c4f..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,57 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 20b33176c4f..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,57 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarShort" -FROM "Data" AS "d" -ORDER BY "d"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap deleted file mode 100644 index 826d50b4bd2..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,57 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap deleted file mode 100644 index 826d50b4bd2..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,57 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index dc049d1a34c..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index dc049d1a34c..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."BarEnum" -FROM "Data" AS "d" -ORDER BY "d"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap deleted file mode 100644 index 542eaa94c2b..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap deleted file mode 100644 index 542eaa94c2b..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap deleted file mode 100644 index 69eeef13807..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap +++ /dev/null @@ -1,37 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 69eeef13807..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,37 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap deleted file mode 100644 index 912f3bebf71..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -ORDER BY ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -ORDER BY ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap deleted file mode 100644 index 912f3bebf71..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -ORDER BY ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."LastName", "d"."Name" -FROM "Data" AS "d" -ORDER BY ( - SELECT COUNT(*) - FROM "Bar" AS "b" - WHERE "d"."Id" = "b"."FooId") DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap deleted file mode 100644 index eb2b4c29446..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap deleted file mode 100644 index eb2b4c29446..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 5c7c002b664..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 5c7c002b664..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap deleted file mode 100644 index ad96fc04ecf..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap deleted file mode 100644 index ad96fc04ecf..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 0aa5dbfa928..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 0aa5dbfa928..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarEnum" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap deleted file mode 100644 index 3d5fe41df67..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap deleted file mode 100644 index 3d5fe41df67..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap deleted file mode 100644 index 27ca98d11df..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap deleted file mode 100644 index 27ca98d11df..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,111 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -LEFT JOIN "FooNullable" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap deleted file mode 100644 index 9f915936efc..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap deleted file mode 100644 index 9f915936efc..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap deleted file mode 100644 index aee81cd096e..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap deleted file mode 100644 index aee81cd096e..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,85 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarString" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap deleted file mode 100644 index ed3b656c0d1..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap +++ /dev/null @@ -1,191 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool", "f"."BarShort" ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool", "f"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC, "f"."BarShort" DESC ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC, "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap deleted file mode 100644 index ed3b656c0d1..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap +++ /dev/null @@ -1,191 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool", "f"."BarShort" ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool", "f"."BarShort" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC, "f"."BarShort" DESC ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarBool" DESC, "f"."BarShort" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap deleted file mode 100644 index 7685895617a..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap +++ /dev/null @@ -1,191 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort", "f"."BarBool" ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort", "f"."BarBool" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC, "f"."BarBool" DESC ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC, "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap deleted file mode 100644 index 7685895617a..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap +++ /dev/null @@ -1,191 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort", "f"."BarBool" ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort", "f"."BarBool" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC, "f"."BarBool" DESC ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."FooId" -FROM "Data" AS "d" -INNER JOIN "Foo" AS "f" ON "d"."FooId" = "f"."Id" -ORDER BY "f"."BarShort" DESC, "f"."BarBool" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap deleted file mode 100644 index a5ba7cec137..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap deleted file mode 100644 index a5ba7cec137..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 2467d616727..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 2467d616727..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,51 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -SELECT "d"."Id", "d"."Bar" -FROM "Data" AS "d" -ORDER BY "d"."Bar" DESC ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware.snap index 2757f8b6948..1f2adad2388 100644 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware.snap +++ b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap deleted file mode 100644 index 1f2adad2388..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting was not found. Register sorting with [UseSorting] or descriptor.UseSorting(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap deleted file mode 100644 index 1f2adad2388..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting was not found. Register sorting with [UseSorting] or descriptor.UseSorting(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap deleted file mode 100644 index 1f2adad2388..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeMissingMiddleware_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting was not found. Register sorting with [UseSorting] or descriptor.UseSorting(). - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch.snap index a9223646022..c5d93a07a31 100644 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch.snap +++ b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch.snap @@ -17,7 +17,8 @@ Result: "code": "HC0018" } } - ] + ], + "data": null } --------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap deleted file mode 100644 index c5d93a07a31..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Sorting.QueryableSortingExtensionsTests+Foo, HotChocolate.Data.Sorting.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap deleted file mode 100644 index c5d93a07a31..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Sorting.QueryableSortingExtensionsTests+Foo, HotChocolate.Data.Sorting.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap b/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap deleted file mode 100644 index c5d93a07a31..00000000000 --- a/src/HotChocolate/Data/test/Data.Sorting.Tests/__snapshots__/QueryableSortingExtensionsTests.Extension_Should_BeTypeMismatch_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": null -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Sorting is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Sorting.QueryableSortingExtensionsTests+Foo, HotChocolate.Data.Sorting.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 36e47ae5381..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 36e47ae5381..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 64779948f97..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 64779948f97..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foo as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 1cd4ed3bcd5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where d.data ->> 'Bar' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 1cd4ed3bcd5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where d.data ->> 'Bar' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index e5054af01f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where d.data ->> 'Bar' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index e5054af01f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where CAST(d.data ->> 'Bar' as boolean) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorbooleantests_foonullable as d where d.data ->> 'Bar' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 9d664651e49..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 9d664651e49..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 6284670e2f8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 6284670e2f8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 4964357a962..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 4964357a962..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap deleted file mode 100644 index 196683052a5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap deleted file mode 100644 index 196683052a5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 497d88db3f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 497d88db3f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 274f5fbee94..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 274f5fbee94..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 902b6e15432..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 902b6e15432..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 4d91013853e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 4d91013853e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 0dc47d1743d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 0dc47d1743d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap deleted file mode 100644 index 641be1f494e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap deleted file mode 100644 index 641be1f494e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 25299d98706..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 25299d98706..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index a3c329c35c9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index a3c329c35c9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foo as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap deleted file mode 100644 index 056e5777933..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where d.data ->> 'BarShort' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap deleted file mode 100644 index 056e5777933..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where d.data ->> 'BarShort' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index e35ae1cf93a..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index e35ae1cf93a..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index ecef54ecd80..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index ecef54ecd80..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap deleted file mode 100644 index c908572d1e0..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap deleted file mode 100644 index c908572d1e0..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 6f65edf4cb3..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 6f65edf4cb3..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap deleted file mode 100644 index e38dac84f61..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap deleted file mode 100644 index e38dac84f61..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 59dba9e7dd5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,65 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where d.data ->> 'BarShort' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 59dba9e7dd5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,65 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where d.data ->> 'BarShort' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index bd6ffe01c74..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index bd6ffe01c74..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) < :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 8da1294e362..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 8da1294e362..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) <= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap deleted file mode 100644 index 9d89553e67b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap deleted file mode 100644 index 9d89553e67b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where NOT(CAST(d.data ->> 'BarShort' as smallint) = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 1be2c298ae5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 1be2c298ae5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) > :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 2742e0aa134..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 2742e0aa134..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorcomparabletests_foonullable as d where CAST(d.data ->> 'BarShort' as smallint) >= :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 3a4893aecd9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 3a4893aecd9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap deleted file mode 100644 index b2e07eeccee..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap deleted file mode 100644 index b2e07eeccee..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 9324d482e0d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 9324d482e0d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index 710517627e2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index 710517627e2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foo as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index c7af7252dcf..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where d.data ->> 'BarEnum' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index c7af7252dcf..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where d.data ->> 'BarEnum' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index 34a64a8b4eb..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data ->> 'BarEnum' as integer) is null); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index 34a64a8b4eb..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where (CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data ->> 'BarEnum' as integer) is null); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index d7cb3583190..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where d.data ->> 'BarEnum' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index d7cb3583190..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where CAST(d.data ->> 'BarEnum' as integer) != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where d.data ->> 'BarEnum' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index eaea6e5026f..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data ->> 'BarEnum' as integer) is null)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index eaea6e5026f..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data ->> 'BarEnum' as integer) is not null)); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorenumtests_foonullable as d where NOT((CAST(d.data ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data ->> 'BarEnum' as integer) is null)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 7fb65257812..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorinterfacestests_barinterface as d where d.data -> 'Test' ->> 'Prop' = :p0; ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorinterfacestests_barinterface as d where d.data -> 'Test' ->> 'Prop' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 7fb65257812..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorinterfacestests_barinterface as d where d.data -> 'Test' ->> 'Prop' = :p0; ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorinterfacestests_barinterface as d where d.data -> 'Test' ->> 'Prop' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index f4ef61e16f2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where :p0 = ALL (array(select unnest(data) ->> 'Bar'))) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where :p0 = ALL (array(select unnest(data) ->> 'Bar'))) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where true = ALL (select unnest(array(select unnest(data) ->> 'Bar' )) is null)) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index f4ef61e16f2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where :p0 = ALL (array(select unnest(data) ->> 'Bar'))) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where :p0 = ALL (array(select unnest(data) ->> 'Bar'))) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[]) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where true = ALL (select unnest(array(select unnest(data) ->> 'Bar' )) is null)) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index e7b70d54f63..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.data @? '$ ? (@.FooNested[*] == null || @.FooNested[*].size() == 0)'; ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.data @? '$ ? (@.FooNested[*] != null && @.FooNested[*].size() > 0)'; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index e7b70d54f63..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.data @? '$ ? (@.FooNested[*] == null || @.FooNested[*].size() == 0)'; ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.data @? '$ ? (@.FooNested[*] != null && @.FooNested[*].size() > 0)'; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index c6d2584040d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(CAST(d.data ->> 'FooNested' as jsonb) @> :p0); ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(CAST(d.data ->> 'FooNested' as jsonb) @> :p0); ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, unnest(CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[])) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where d.data ->> 'Bar' is null) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(d.ctid in (select ctid from mt_temp_id_list2CTE)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index c6d2584040d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(CAST(d.data ->> 'FooNested' as jsonb) @> :p0); ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(CAST(d.data ->> 'FooNested' as jsonb) @> :p0); ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, unnest(CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[])) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where d.data ->> 'Bar' is null) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where NOT(d.ctid in (select ctid from mt_temp_id_list2CTE)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap deleted file mode 100644 index 1941823fb38..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where CAST(d.data ->> 'FooNested' as jsonb) @> :p0; ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where CAST(d.data ->> 'FooNested' as jsonb) @> :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, unnest(CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[])) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where d.data ->> 'Bar' is null) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap deleted file mode 100644 index 1941823fb38..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where CAST(d.data ->> 'FooNested' as jsonb) @> :p0; ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where CAST(d.data ->> 'FooNested' as jsonb) @> :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -WITH mt_temp_id_list1CTE as (select ctid, unnest(CAST(ARRAY(SELECT jsonb_array_elements(CAST(d.data ->> 'FooNested' as jsonb))) as jsonb[])) as data from public.mt_doc_queryablefiltervisitorlisttests_foo as d) , mt_temp_id_list2CTE as (select distinct ctid from mt_temp_id_list1CTE as d where d.data ->> 'Bar' is null) select d.id, d.data from public.mt_doc_queryablefiltervisitorlisttests_foo as d where d.ctid in (select ctid from mt_temp_id_list2CTE); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap deleted file mode 100644 index ed29eb6187c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,84 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data @? '$ ? (@.Foo.ObjectArray[*] == null || @.Foo.ObjectArray[*].size() == 0)'; ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data @? '$ ? (@.Foo.ObjectArray[*] != null && @.Foo.ObjectArray[*].size() > 0)'; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListFilterInputTypeOfBarFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap deleted file mode 100644 index ed29eb6187c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,84 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data @? '$ ? (@.Foo.ObjectArray[*] == null || @.Foo.ObjectArray[*].size() == 0)'; ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data @? '$ ? (@.Foo.ObjectArray[*] != null && @.Foo.ObjectArray[*].size() > 0)'; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListFilterInputTypeOfBarFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 442b357f4b8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'ObjectArray' as jsonb) @> :p0; ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'ObjectArray' as jsonb) @> :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 442b357f4b8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'ObjectArray' as jsonb) @> :p0; ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'ObjectArray' as jsonb) @> :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index bb5668801ec..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index bb5668801ec..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 6402c699804..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 6402c699804..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap deleted file mode 100644 index c5cb01f2395..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap deleted file mode 100644 index c5cb01f2395..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 94c6263637d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarBool' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 94c6263637d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarBool' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index a7d92aa3f26..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarEnum' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index a7d92aa3f26..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarEnum' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index cd9c1cf8966..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is null); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index cd9c1cf8966..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) AND CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is not null); ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where (CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) = ANY(:p0) OR CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) is null); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap deleted file mode 100644 index a48ddc538e7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarShort' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap deleted file mode 100644 index a48ddc538e7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where d.data -> 'Foo' ->> 'BarShort' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap deleted file mode 100644 index 9de21bc52b4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap deleted file mode 100644 index 9de21bc52b4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_barnullable as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 34748cb32a2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 34748cb32a2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap deleted file mode 100644 index d47281ab8e8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap deleted file mode 100644 index d47281ab8e8..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) = ANY(:p0); ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 2667f832c49..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 2667f832c49..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap deleted file mode 100644 index ad98869e30c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = ANY(:p0); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap deleted file mode 100644 index ad98869e30c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = ANY(:p0); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorobjecttests_bar as d where d.data -> 'Foo' ->> 'BarString' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap deleted file mode 100644 index 34307dd2dbf..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap deleted file mode 100644 index 34307dd2dbf..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap deleted file mode 100644 index f60a934b19b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index f60a934b19b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 93b23b82890..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 93b23b82890..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' is null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap deleted file mode 100644 index 69feed53602..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap deleted file mode 100644 index 69feed53602..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap deleted file mode 100644 index b801ee30046..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap deleted file mode 100644 index b801ee30046..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 4c72526e216..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 4c72526e216..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 5322177dc1e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' != :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 5322177dc1e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' != :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' != :p0; ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where d.data ->> 'Bar' is not null; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap deleted file mode 100644 index af85c62658a..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap deleted file mode 100644 index af85c62658a..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 3e42e037d9b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 3e42e037d9b..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 4fff482f4a4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 4fff482f4a4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foonullable as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap deleted file mode 100644 index 5098d6c46b7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap deleted file mode 100644 index 5098d6c46b7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 4807594d7ee..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 4807594d7ee..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap deleted file mode 100644 index 0dc11d7c231..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap deleted file mode 100644 index 0dc11d7c231..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap deleted file mode 100644 index 61d0456ea5c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap deleted file mode 100644 index 61d0456ea5c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = ANY(:p0); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' = ANY(:p0); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap deleted file mode 100644 index 3ef43e331e2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap deleted file mode 100644 index 3ef43e331e2..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is null or NOT(d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index f24a9529bdd..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index f24a9529bdd..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 3fc25b3d25e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' != :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 3fc25b3d25e..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' != :p0; ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where d.data ->> 'Bar' != :p0; ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap deleted file mode 100644 index 4001c08d908..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap deleted file mode 100644 index 4001c08d908..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT(d.data ->> 'Bar' = ANY(:p0)); ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 5b101e8cf81..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 5b101e8cf81..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where NOT((d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0)); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap deleted file mode 100644 index a51eb2744d0..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index a51eb2744d0..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablefiltervisitorstringtests_foo as d where (d.data ->> 'Bar' is not null and d.data ->> 'Bar' LIKE :p0); ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 0565bd61e5f..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorbooleantests_foonullable as d order by CAST(d.data ->> 'Bar' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorbooleantests_foonullable as d order by CAST(d.data ->> 'Bar' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 0565bd61e5f..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorbooleantests_foonullable as d order by CAST(d.data ->> 'Bar' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorbooleantests_foonullable as d order by CAST(d.data ->> 'Bar' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap deleted file mode 100644 index c62ca0e9461..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foo as d order by CAST(d.data ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foo as d order by CAST(d.data ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap deleted file mode 100644 index c62ca0e9461..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foo as d order by CAST(d.data ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foo as d order by CAST(d.data ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 56918fe4bd6..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - }, - { - "barShort": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foonullable as d order by CAST(d.data ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foonullable as d order by CAST(d.data ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 56918fe4bd6..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - }, - { - "barShort": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foonullable as d order by CAST(d.data ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorcomparabletests_foonullable as d order by CAST(d.data ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap deleted file mode 100644 index 83536111141..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foo as d order by CAST(d.data ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foo as d order by CAST(d.data ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap deleted file mode 100644 index 83536111141..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foo as d order by CAST(d.data ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foo as d order by CAST(d.data ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 83ae326c627..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foonullable as d order by CAST(d.data ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foonullable as d order by CAST(d.data ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 83ae326c627..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foonullable as d order by CAST(d.data ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorenumtests_foonullable as d order by CAST(d.data ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap deleted file mode 100644 index 79d410ff201..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorexpressiontests_foo as d order by jsonb_array_length(CAST(d.data ->> 'Bars' as jsonb)); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorexpressiontests_foo as d order by jsonb_array_length(CAST(d.data ->> 'Bars' as jsonb)) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap deleted file mode 100644 index 79d410ff201..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorexpressiontests_foo as d order by jsonb_array_length(CAST(d.data ->> 'Bars' as jsonb)); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorexpressiontests_foo as d order by jsonb_array_length(CAST(d.data ->> 'Bars' as jsonb)) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap deleted file mode 100644 index dacd0f9e999..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap deleted file mode 100644 index dacd0f9e999..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 1e0f3d07af5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 1e0f3d07af5..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap deleted file mode 100644 index 4cf1eae6eda..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap deleted file mode 100644 index 4cf1eae6eda..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap deleted file mode 100644 index e2b5877404d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap deleted file mode 100644 index e2b5877404d..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarEnum' as integer) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap deleted file mode 100644 index 78fd90801fe..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap deleted file mode 100644 index 78fd90801fe..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap deleted file mode 100644 index 8dd5262f614..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by d.data -> 'Foo' ->> 'BarString'; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by d.data -> 'Foo' ->> 'BarString' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap deleted file mode 100644 index 8dd5262f614..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by d.data -> 'Foo' ->> 'BarString'; ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_barnullable as d order by d.data -> 'Foo' ->> 'BarString' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap deleted file mode 100644 index 24b446262c4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap deleted file mode 100644 index 24b446262c4..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap deleted file mode 100644 index 00910369238..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by d.data -> 'Foo' ->> 'BarString'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by d.data -> 'Foo' ->> 'BarString' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap deleted file mode 100644 index 00910369238..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by d.data -> 'Foo' ->> 'BarString'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by d.data -> 'Foo' ->> 'BarString' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap deleted file mode 100644 index d0b9bafefc7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean), CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean), CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc, CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc, CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap deleted file mode 100644 index d0b9bafefc7..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean), CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean), CAST(d.data -> 'Foo' ->> 'BarShort' as smallint); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc, CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc, CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap deleted file mode 100644 index 0a66104cc9c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint), CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint), CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc, CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc, CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap deleted file mode 100644 index 0a66104cc9c..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint), CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint), CAST(d.data -> 'Foo' ->> 'BarBool' as boolean); ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc, CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorobjecttests_bar as d order by CAST(d.data -> 'Foo' ->> 'BarShort' as smallint) desc, CAST(d.data -> 'Foo' ->> 'BarBool' as boolean) desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap deleted file mode 100644 index ce25b3b35f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foo as d order by d.data ->> 'Bar'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foo as d order by d.data ->> 'Bar' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap deleted file mode 100644 index ce25b3b35f9..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foo as d order by d.data ->> 'Bar'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foo as d order by d.data ->> 'Bar' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 2b18a2084b6..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foonullable as d order by d.data ->> 'Bar'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foonullable as d order by d.data ->> 'Bar' desc; ---------------- diff --git a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 2b18a2084b6..00000000000 --- a/src/HotChocolate/Marten/test/Data.Marten.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -ASC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foonullable as d order by d.data ->> 'Bar'; ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -select d.id, d.data from public.mt_doc_queryablesortvisitorstringtests_foonullable as d order by d.data ->> 'Bar' desc; ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET7_0.snap deleted file mode 100644 index 7ea79187bb5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -aggregate([{ "$match" : { "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } } }]) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -aggregate([{ "$match" : { "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET8_0.snap deleted file mode 100644 index 7ea79187bb5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.AggregateFluent_Serializer_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -aggregate([{ "$match" : { "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } } }]) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -aggregate([{ "$match" : { "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap deleted file mode 100644 index ad89e058332..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -aggregate([{ "$match" : { "renameTest" : { "$eq" : true } } }]) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -aggregate([{ "$match" : { "renameTest" : { "$eq" : false } } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index ad89e058332..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -aggregate([{ "$match" : { "renameTest" : { "$eq" : true } } }]) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -aggregate([{ "$match" : { "renameTest" : { "$eq" : false } } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index cef075f0234..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "renameTest" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "renameTest" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET8_0.snap deleted file mode 100644 index c538898ee7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 09dafc34fb8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 09dafc34fb8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 3fa7c615bc3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$ne" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$ne" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 3fa7c615bc3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$ne" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$ne" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 4e454eef02a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$eq" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 4e454eef02a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$eq" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 3537505a4ad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$ne" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$ne" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 3537505a4ad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$ne" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Bar" : { "$ne" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET7_0.snap deleted file mode 100644 index 6c4e920de46..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type DateTimeOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "DateTime!", - "filterType": "DateTimeOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET8_0.snap deleted file mode 100644 index 6c4e920de46..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type DateTimeOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "DateTime!", - "filterType": "DateTimeOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET7_0.snap deleted file mode 100644 index 3faa7791412..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarDateTime" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET8_0.snap deleted file mode 100644 index 3faa7791412..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": "2000-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarDateTime" : { "$eq" : ISODate("2000-01-12T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barDateTime": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarDateTime" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 5dfbc6aeee4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$eq" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 5dfbc6aeee4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$eq" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index a24b8c83e89..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 247232deff8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap deleted file mode 100644 index 2b493d44f3a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$in" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap deleted file mode 100644 index 2b493d44f3a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$in" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 4a626a05f34..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap deleted file mode 100644 index ee8746b1d7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap deleted file mode 100644 index eeb20301bac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$ne" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$ne" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap deleted file mode 100644 index eeb20301bac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$ne" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$ne" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 08b0ef424f8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 08b0ef424f8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index d289dd3e976..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index d289dd3e976..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap deleted file mode 100644 index 8fe2d020666..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$nin" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$nin" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap deleted file mode 100644 index 8fe2d020666..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$nin" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$nin" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 077132d6bc6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 077132d6bc6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 4ee1529d33f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 4ee1529d33f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap deleted file mode 100644 index df5b70b38d8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$eq" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarShort" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap deleted file mode 100644 index df5b70b38d8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$eq" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarShort" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap deleted file mode 100644 index a24b8c83e89..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index a24b8c83e89..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index a24b8c83e89..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap deleted file mode 100644 index 247232deff8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 247232deff8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 247232deff8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$gt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$gt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$gt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap deleted file mode 100644 index 7781abe3102..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$in" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "BarShort" : { "$in" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap deleted file mode 100644 index 7781abe3102..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$in" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "BarShort" : { "$in" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap deleted file mode 100644 index 4a626a05f34..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 4a626a05f34..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 4a626a05f34..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lte" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lte" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lte" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap deleted file mode 100644 index ee8746b1d7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap deleted file mode 100644 index ee8746b1d7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap deleted file mode 100644 index ee8746b1d7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$lt" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$lt" : 13 } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$lt" : 14 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 9194edb3fd4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$ne" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$ne" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarShort" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 9194edb3fd4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$ne" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$ne" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarShort" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 9518e642a46..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 9518e642a46..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 4adeeeba433..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 4adeeeba433..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$gt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap deleted file mode 100644 index 700af175995..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$nin" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$nin" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "BarShort" : { "$nin" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap deleted file mode 100644 index 700af175995..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "BarShort" : { "$nin" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "BarShort" : { "$nin" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "BarShort" : { "$nin" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 424364f93ae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 424364f93ae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lte" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 042082fa371..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 042082fa371..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 12 } } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 13 } } }) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -14 Query: ---------------- -find({ "BarShort" : { "$not" : { "$lt" : 14 } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET7_0.snap deleted file mode 100644 index 6ef407df0aa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET8_0.snap deleted file mode 100644 index 6ef407df0aa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET7_0.snap deleted file mode 100644 index b6ae0d0ae80..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET8_0.snap deleted file mode 100644 index b6ae0d0ae80..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_DateOnlyNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET7_0.snap deleted file mode 100644 index aec0fa366ce..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET8_0.snap deleted file mode 100644 index aec0fa366ce..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET7_0.snap deleted file mode 100644 index a5c0a40b564..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - }, - { - "bar": null - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - }, - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET8_0.snap deleted file mode 100644 index a5c0a40b564..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorDateOnlyTests.Create_NullableDateOnlyNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -2022-01-16 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - }, - { - "bar": null - } - ] - } -} ---------------- - -2022-01-16 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-15T00:00:00Z") } }) ---------------- - -2022-01-15 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -2022-01-15 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("2022-01-16T00:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2022-01-16" - }, - { - "bar": "2022-01-15" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 4f913bed417..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$eq" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 4f913bed417..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$eq" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap deleted file mode 100644 index 2ff6ae263b7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap deleted file mode 100644 index 2ff6ae263b7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index e2a27d53d4e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$ne" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$ne" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index e2a27d53d4e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$ne" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$ne" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index 45b892b9cf5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$nin" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index 45b892b9cf5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$nin" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index baccbc60f26..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$eq" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarEnum" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index baccbc60f26..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$eq" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarEnum" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index cfed4bdf223..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index cfed4bdf223..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "BarEnum" : { "$in" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index e714fc4082f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$ne" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$ne" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarEnum" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index e714fc4082f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "BarEnum" : { "$ne" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$ne" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "BarEnum" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index 3750f8a8646..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$nin" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index 3750f8a8646..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "BarEnum" : { "$nin" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "BarEnum" : { "$nin" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 60cfb3aa821..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : "a" } } } } }] }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : "d" } } } } }] }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : null } } } } }] }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 60cfb3aa821..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,55 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : "a" } } } } }] }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : "d" } } } } }] }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "FooNested" : { "$elemMatch" : { "Bar" : { "$not" : { "$eq" : null } } } } }] }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET7_0.snap deleted file mode 100644 index a229f059ac1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : "a" } } } }] }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : "d" } } } }] }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : null } } } }] }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET8_0.snap deleted file mode 100644 index a229f059ac1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAllStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : "a" } } } }] }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : "d" } } } }] }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] }, "$nor" : [{ "Bar" : { "$elemMatch" : { "$not" : { "$eq" : null } } } }] }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 3b95b4983e5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,123 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": null - }, - { - "fooNested": [] - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "FooNested" : { "$exists" : true, "$in" : [[], null] } }, { "FooNested" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "root" - ] - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 3b95b4983e5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,123 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": null - }, - { - "fooNested": [] - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "FooNested" : { "$exists" : true, "$in" : [[], null] } }, { "FooNested" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "root" - ] - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET7_0.snap deleted file mode 100644 index dde78a986be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - null, - "d", - "b" - ] - }, - { - "bar": null - }, - { - "bar": [] - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "Bar" : { "$exists" : true, "$in" : [[], null] } }, { "Bar" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "root" - ] - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET8_0.snap deleted file mode 100644 index dde78a986be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayAnyStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - null, - "d", - "b" - ] - }, - { - "bar": null - }, - { - "bar": [] - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "Bar" : { "$exists" : true, "$in" : [[], null] } }, { "Bar" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "root" - ] - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index eadb9582147..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : "a" } } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : "d" } } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : null } } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index eadb9582147..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : "a" } } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : "d" } } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "Bar" : { "$eq" : null } } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 4010975aa3a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : "d" } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : null } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 4010975aa3a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArrayNoneStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : "d" } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$exists" : true, "$nin" : [[], null], "$not" : { "$elemMatch" : { "$eq" : null } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap deleted file mode 100644 index 2b176270d52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : "d" } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : null } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap deleted file mode 100644 index 2b176270d52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : "d" } } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "FooNested" : { "$elemMatch" : { "Bar" : { "$eq" : null } } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET7_0.snap deleted file mode 100644 index d9b2c6f39b6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET7_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : "a" } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - }, - { - "bar": [ - null, - "d", - "b" - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : "d" } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - null, - "d", - "b" - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : null } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET8_0.snap deleted file mode 100644 index d9b2c6f39b6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorListTests.Create_ArraySomeStringEqualWithNull_Expression_NET8_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "a", - "a" - ] - }, - { - "bar": [ - "c", - "a", - "a" - ] - }, - { - "bar": [ - "a", - "d", - "b" - ] - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : "a" } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - "a", - "d", - "b" - ] - }, - { - "bar": [ - "c", - "d", - "b" - ] - }, - { - "bar": [ - null, - "d", - "b" - ] - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : "d" } } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": [ - null, - "d", - "b" - ] - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$elemMatch" : { "$eq" : null } } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET7_0.snap deleted file mode 100644 index 153aea92bab..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET8_0.snap deleted file mode 100644 index 153aea92bab..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 36885bc080d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 36885bc080d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index f8835555742..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index f8835555742..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET7_0.snap deleted file mode 100644 index 652c5971554..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET7_0.snap +++ /dev/null @@ -1,76 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -nullAnd6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET8_0.snap deleted file mode 100644 index 652c5971554..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression_NET8_0.snap +++ /dev/null @@ -1,76 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -nullAnd6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 7c98fe9d46b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 7c98fe9d46b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 933cf8a7e37..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 933cf8a7e37..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 19aa0bab58a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 19aa0bab58a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 892dd1bb087..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 892dd1bb087..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 5874f7cad92..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 5874f7cad92..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET7_0.snap deleted file mode 100644 index 2ff148e26be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,73 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -nullAnd6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 5, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET8_0.snap deleted file mode 100644 index 2ff148e26be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,73 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -nullAnd6124e80f3f5fc839830c1f6b ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 5, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[ObjectId!]", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 65acaeabce5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 65acaeabce5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 94bcf9cfa27..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 94bcf9cfa27..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -6124e80f3f5fc839830c1f69 Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69 Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET7_0.snap deleted file mode 100644 index 8dd23e85688..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "ObjectId" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET8_0.snap deleted file mode 100644 index 8dd23e85688..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$eq" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "ObjectId" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 469e7b5ef2e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 469e7b5ef2e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 9b0192a8503..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 9b0192a8503..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET7_0.snap deleted file mode 100644 index 3796b97002d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -band6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f6a"), ObjectId("6124e80f3f5fc839830c1f6b")] } }) ---------------- - -bandNull Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -bandNull Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f6a"), null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET8_0.snap deleted file mode 100644 index 3796b97002d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -band6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f6a"), ObjectId("6124e80f3f5fc839830c1f6b")] } }) ---------------- - -bandNull Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -bandNull Query: ---------------- -find({ "ObjectId" : { "$in" : [ObjectId("6124e80f3f5fc839830c1f6a"), null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index a47cfd337bd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index a47cfd337bd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 80a7568c27f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 80a7568c27f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET7_0.snap deleted file mode 100644 index cbd5179f59a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "ObjectId" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET8_0.snap deleted file mode 100644 index cbd5179f59a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f69") } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$ne" : ObjectId("6124e80f3f5fc839830c1f6a") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "ObjectId" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 1cfa059325c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 1cfa059325c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 90a64e9fdc5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 90a64e9fdc5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$gt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET7_0.snap deleted file mode 100644 index ec1662e48e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -band6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f6a"), ObjectId("6124e80f3f5fc839830c1f6b")] } }) ---------------- - -bandNull Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -bandNull Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f6a"), null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET8_0.snap deleted file mode 100644 index ec1662e48e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f69and6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f69"), ObjectId("6124e80f3f5fc839830c1f6a")] } }) ---------------- - -band6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - } - ] - } -} ---------------- - -band6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f6a"), ObjectId("6124e80f3f5fc839830c1f6b")] } }) ---------------- - -bandNull Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -bandNull Query: ---------------- -find({ "ObjectId" : { "$nin" : [ObjectId("6124e80f3f5fc839830c1f6a"), null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index a13cae4d1b2..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index a13cae4d1b2..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lte" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index a3cd2c6cfd4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index a3cd2c6cfd4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": "6124e80f3f5fc839830c1f69" - }, - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f69") } } }) ---------------- - -6124e80f3f5fc839830c1f6a Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6a" - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6a Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6a") } } }) ---------------- - -6124e80f3f5fc839830c1f6b Result: ---------------- -{ - "data": { - "root": [ - { - "objectId": null - }, - { - "objectId": "6124e80f3f5fc839830c1f6b" - } - ] - } -} ---------------- - -6124e80f3f5fc839830c1f6b Query: ---------------- -find({ "ObjectId" : { "$not" : { "$lt" : ObjectId("6124e80f3f5fc839830c1f6b") } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "ObjectId!", - "filterType": "ObjectIdOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 9c00351babe..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,84 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "Foo.ObjectArray" : { "$exists" : true, "$in" : [[], null] } }, { "Foo.ObjectArray" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.ObjectArray" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListBarFilterTypeFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListBarFilterTypeFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 9c00351babe..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,84 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "$or" : [{ "Foo.ObjectArray" : { "$exists" : true, "$in" : [[], null] } }, { "Foo.ObjectArray" : { "$exists" : false } }] }) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.ObjectArray" : { "$exists" : true, "$nin" : [[], null] } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListBarFilterTypeFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListBarFilterTypeFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 53c272cc366..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Foo.ObjectArray" : { "$elemMatch" : { "Foo.BarString" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Foo.ObjectArray" : { "$elemMatch" : { "Foo.BarString" : { "$eq" : "d" } } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 53c272cc366..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Foo.ObjectArray" : { "$elemMatch" : { "Foo.BarString" : { "$eq" : "a" } } } }) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -d Query: ---------------- -find({ "Foo.ObjectArray" : { "$elemMatch" : { "Foo.BarString" : { "$eq" : "d" } } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 8507406213f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 8507406213f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index e3ab6294bda..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index e3ab6294bda..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 0 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap deleted file mode 100644 index 88c543884bf..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap deleted file mode 100644 index 88c543884bf..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 0b0d6de42b8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 0b0d6de42b8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : false } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarBool" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 97aa5575a4b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 97aa5575a4b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 1 } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : 0 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarEnum" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index 316d2bba0ab..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index 316d2bba0ab..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [1, 0] } }) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [0] } }) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo Query: ---------------- -find({ "Foo.BarEnum" : { "$in" : [null, 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 1a9ca18ba4f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 1a9ca18ba4f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 13 } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap deleted file mode 100644 index 3d5b116a1da..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap deleted file mode 100644 index 3d5b116a1da..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, 14] } }) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, null] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 8ad817cda91..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 8ad817cda91..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 12 } }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ "Foo.BarShort" : { "$eq" : 13 } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap deleted file mode 100644 index eff21d0ce65..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap deleted file mode 100644 index eff21d0ce65..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [12, 13] } }) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 Query: ---------------- -find({ "Foo.BarShort" : { "$in" : [13, 14] } }) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 03d8d6ea751..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Foo.BarString" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Foo.BarString" : { "$eq" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 03d8d6ea751..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Foo.BarString" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Foo.BarString" : { "$eq" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap deleted file mode 100644 index da34dcb0d3e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Foo.BarString" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Foo.BarString" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap deleted file mode 100644 index da34dcb0d3e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Foo.BarString" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Foo.BarString" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap deleted file mode 100644 index 9bb53c898d6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$regex" : /a/ } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$regex" : /b/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 7992f412de3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$regex" : /atest$/ } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$regex" : /btest$/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap deleted file mode 100644 index a4d04f72681..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$eq" : "testbtest" } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap deleted file mode 100644 index a4d04f72681..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$eq" : "testbtest" } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap deleted file mode 100644 index 898b7c36644..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtestAndNull Query: ---------------- -find({ "Bar" : { "$in" : ["testbtest", null] } }) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap deleted file mode 100644 index 898b7c36644..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtestAndNull Query: ---------------- -find({ "Bar" : { "$in" : ["testbtest", null] } }) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap deleted file mode 100644 index f04d5c094aa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /a/ } } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /b/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap deleted file mode 100644 index f04d5c094aa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /a/ } } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /b/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index aab55baa2be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /atest$/ } } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /btest$/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index aab55baa2be..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /atest$/ } } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /btest$/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index e6285f5d989..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$ne" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$ne" : "testbtest" } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index e6285f5d989..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$ne" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$ne" : "testbtest" } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap deleted file mode 100644 index 1e41101b63f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtestAndNull Query: ---------------- -find({ "Bar" : { "$nin" : ["testbtest", null] } }) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap deleted file mode 100644 index 1e41101b63f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtestAndNull Query: ---------------- -find({ "Bar" : { "$nin" : ["testbtest", null] } }) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 0ada3fa61df..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testa/ } } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testb/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 0ada3fa61df..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testa/ } } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testb/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index e597916de58..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$regex" : /^testa/ } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$regex" : /^testb/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap deleted file mode 100644 index 9bb53c898d6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$regex" : /a/ } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$regex" : /b/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap deleted file mode 100644 index 9bb53c898d6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$regex" : /a/ } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$regex" : /b/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap deleted file mode 100644 index 9bb53c898d6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$regex" : /a/ } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$regex" : /b/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap deleted file mode 100644 index 7992f412de3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$regex" : /atest$/ } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$regex" : /btest$/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 7992f412de3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$regex" : /atest$/ } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$regex" : /btest$/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 7992f412de3..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$regex" : /atest$/ } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$regex" : /btest$/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap deleted file mode 100644 index 9204c6f7cfa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$eq" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap deleted file mode 100644 index 9204c6f7cfa..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$eq" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$eq" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap deleted file mode 100644 index d64528453df..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap deleted file mode 100644 index d64528453df..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$in" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$in" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap deleted file mode 100644 index 0e139010acf..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /a/ } } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /b/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap deleted file mode 100644 index 0e139010acf..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /a/ } } }) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /b/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 6826b14a8f7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /atest$/ } } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /btest$/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 6826b14a8f7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /atest$/ } } }) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /btest$/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 487d8c434ac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$ne" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$ne" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 487d8c434ac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$ne" : "testatest" } }) ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest Query: ---------------- -find({ "Bar" : { "$ne" : "testbtest" } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap deleted file mode 100644 index 9081fca6c04..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap deleted file mode 100644 index 9081fca6c04..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest", "testbtest"] } }) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest Query: ---------------- -find({ "Bar" : { "$nin" : ["testatest"] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 47d192c22c1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testa/ } } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testb/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 47d192c22c1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testa/ } } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$not" : { "$regex" : /^testb/ } } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap deleted file mode 100644 index e597916de58..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$regex" : /^testa/ } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$regex" : /^testb/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap deleted file mode 100644 index e597916de58..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$regex" : /^testa/ } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$regex" : /^testb/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index e597916de58..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa Query: ---------------- -find({ "Bar" : { "$regex" : /^testa/ } }) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb Query: ---------------- -find({ "Bar" : { "$regex" : /^testb/ } }) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET7_0.snap deleted file mode 100644 index b00a703fcf7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET8_0.snap deleted file mode 100644 index b00a703fcf7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$eq" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 22b6f5a4041..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - }, - { - "bar": null - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - }, - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 22b6f5a4041..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_NullableTimeOnlyNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - }, - { - "bar": null - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - }, - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -null Query: ---------------- -find({ "Bar" : { "$ne" : null } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET7_0.snap deleted file mode 100644 index ec9729325e5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET8_0.snap deleted file mode 100644 index ec9729325e5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$eq" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 8aaa12dd095..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 8aaa12dd095..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorTimeOnlyTests.Create_TimeOnlyNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -0630 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "16:00:00" - } - ] - } -} ---------------- - -0630 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T06:30:00Z") } }) ---------------- - -1600 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "06:30:00" - } - ] - } -} ---------------- - -1600 Query: ---------------- -find({ "Bar" : { "$ne" : ISODate("0001-01-01T16:00:00Z") } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.BsonElement_Rename_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET6_0.snap deleted file mode 100644 index cef075f0234..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET6_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "renameTest" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "renameTest" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET7_0.snap deleted file mode 100644 index cef075f0234..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "renameTest" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "renameTest" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index cef075f0234..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true Query: ---------------- -find({ "renameTest" : { "$eq" : true } }) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false Query: ---------------- -find({ "renameTest" : { "$eq" : false } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap deleted file mode 100644 index 26ea2c27b9b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0], "$eq" : [NumberLong("637142976000000000"), 0] } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0], "$eq" : [NumberLong("637143840000000000"), 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap deleted file mode 100644 index 26ea2c27b9b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0], "$eq" : [NumberLong("637142976000000000"), 0] } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0], "$eq" : [NumberLong("637143840000000000"), 0] } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbCollectionTests.Collection_Serializer_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET6_0.snap deleted file mode 100644 index c538898ee7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET6_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET7_0.snap deleted file mode 100644 index c538898ee7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET8_0.snap deleted file mode 100644 index c538898ee7c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_Serializer_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -2020-01-11 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-11 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-11T00:00:00+00:00" } }) ---------------- - -2020-01-12 Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -2020-01-12 Query: ---------------- -find({ "testName" : { "$eq" : "2020-01-12T00:00:00+00:00" } }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.JustTotalCount_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET6_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET6_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET7_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Default_Items_NET7_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET6_0.snap deleted file mode 100644 index d4fc4e577f6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET6_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mg==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET7_0.snap deleted file mode 100644 index d4fc4e577f6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_After_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mg==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET6_0.snap deleted file mode 100644 index 95b5a9c2dad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET6_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "MQ==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET7_0.snap deleted file mode 100644 index 95b5a9c2dad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_First_2_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "MQ==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingAggregateFluentTests.TotalCount_AndFirst_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.JustTotalCount_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET6_0.snap deleted file mode 100644 index d4fc4e577f6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET6_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mg==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET7_0.snap deleted file mode 100644 index d4fc4e577f6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_After_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mg==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET6_0.snap deleted file mode 100644 index 95b5a9c2dad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET6_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "MQ==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET7_0.snap deleted file mode 100644 index 95b5a9c2dad..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_First_2_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "MQ==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap deleted file mode 100644 index f7cf54ba49a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "a" - }, - "cursor": "MA==" - }, - { - "node": { - "bar": "b" - }, - "cursor": "MQ==" - }, - { - "node": { - "bar": "d" - }, - "cursor": "Mg==" - }, - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - }, - { - "node": { - "bar": "f" - }, - "cursor": "NA==" - } - ], - "nodes": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "MA==", - "endCursor": "NA==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET6_0.snap deleted file mode 100644 index feeac0e2ba6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET6_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mw==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET7_0.snap deleted file mode 100644 index feeac0e2ba6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.Simple_StringList_Last_1_Before_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -{ - "data": { - "foos": { - "edges": [ - { - "node": { - "bar": "e" - }, - "cursor": "Mw==" - } - ], - "nodes": [ - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true, - "startCursor": "Mw==", - "endCursor": "Mw==" - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbCursorPagingFindFluentTests.TotalCount_AndFirst_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.JustTotalCount_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET6_0.snap deleted file mode 100644 index 3225ba4c9ac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET6_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - }, - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET7_0.snap deleted file mode 100644 index 3225ba4c9ac..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Default_Items_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - }, - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap deleted file mode 100644 index 2d9241517a0..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap deleted file mode 100644 index 2d9241517a0..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET6_0.snap deleted file mode 100644 index 4b6149c7aae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET6_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET7_0.snap deleted file mode 100644 index 4b6149c7aae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_After_NET7_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET6_0.snap deleted file mode 100644 index aa4bd6e272e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET6_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET7_0.snap deleted file mode 100644 index aa4bd6e272e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingAggregateTests.Simple_StringList_Take_2_NET7_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET6_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET7_0.snap deleted file mode 100644 index ef00696efcb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.JustTotalCount_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foos": { - "totalCount": 5 - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap deleted file mode 100644 index 14b2ee0c2e9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET6_0.snap +++ /dev/null @@ -1,16 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected token: Name.", - "locations": [ - { - "line": 2, - "column": 17 - } - ], - "extensions": { - "code": "HC0014" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap deleted file mode 100644 index 14b2ee0c2e9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Default_Items_NET7_0.snap +++ /dev/null @@ -1,16 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected token: Name.", - "locations": [ - { - "line": 2, - "column": 17 - } - ], - "extensions": { - "code": "HC0014" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap deleted file mode 100644 index 2d9241517a0..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET6_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap deleted file mode 100644 index 2d9241517a0..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Global_DefaultItem_2_NET7_0.snap +++ /dev/null @@ -1,27 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - }, - { - "bar": "d" - }, - { - "bar": "e" - }, - { - "bar": "f" - } - ], - "pageInfo": { - "hasNextPage": false, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET6_0.snap deleted file mode 100644 index 4b6149c7aae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET6_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET7_0.snap deleted file mode 100644 index 4b6149c7aae..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_After_NET7_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "d" - }, - { - "bar": "e" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": true - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET6_0.snap deleted file mode 100644 index aa4bd6e272e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET6_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET7_0.snap deleted file mode 100644 index aa4bd6e272e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbOffsetPagingFindFluentTests.Simple_StringList_Take_2_NET7_0.snap +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "foos": { - "items": [ - { - "bar": "a" - }, - { - "bar": "b" - } - ], - "pageInfo": { - "hasNextPage": true, - "hasPreviousPage": false - } - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET6_0.snap deleted file mode 100644 index 08a039bd866..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foo": { - "id": "Rm9vCmQ1MDdmMTkxZTgxMGMxOTcyOWRlODYwZWE=" - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET7_0.snap deleted file mode 100644 index 08a039bd866..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_BsonId_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "foo": { - "id": "Rm9vCmQ1MDdmMTkxZTgxMGMxOTcyOWRlODYwZWE=" - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET6_0.snap deleted file mode 100644 index 72acc271870..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET6_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "node": { - "id": "Rm9vCmQ2MGRmMTYyZWQwNzY2ZTE1Y2NlNmIxMGU=" - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET7_0.snap deleted file mode 100644 index 72acc271870..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Paging.Tests/__snapshots__/MongoDbRelayTests.Return_Node_NET7_0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "data": { - "node": { - "id": "Rm9vCmQ2MGRmMTYyZWQwNzY2ZTE1Y2NlNmIxMGU=" - } - } -} \ No newline at end of file diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap deleted file mode 100644 index 6582188c480..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO", - "nestedObject": null - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.NestedObject.Foo.BarString" : 1, "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap deleted file mode 100644 index 6582188c480..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO", - "nestedObject": null - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.NestedObject.Foo.BarString" : 1, "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap deleted file mode 100644 index c5babf4e6bb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR" - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO" - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap deleted file mode 100644 index c5babf4e6bb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR" - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO" - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap deleted file mode 100644 index c5babf4e6bb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR" - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO" - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap deleted file mode 100644 index c5babf4e6bb..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionObjectTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "number": 2, - "foo": { - "barEnum": "BAR" - } - }, - { - "number": 2, - "foo": { - "barEnum": "FOO" - } - }, - { - "number": 2, - "foo": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Foo.BarEnum" : 1, "Number" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap deleted file mode 100644 index bae4063e5d9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap deleted file mode 100644 index bae4063e5d9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap deleted file mode 100644 index bae4063e5d9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap deleted file mode 100644 index bae4063e5d9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap deleted file mode 100644 index 187d5d08ddd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap deleted file mode 100644 index 187d5d08ddd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "IsProjectedTrue" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap index 15afbb94280..001c2827977 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap @@ -1,5 +1,20 @@ +Result: +--------------- { "data": { - "root": [] + "root": [ + { + "isProjectedFalse": false + }, + { + "isProjectedFalse": false + } + ] } -} \ No newline at end of file +} +--------------- + +Query: +--------------- +find({ }) +--------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap deleted file mode 100644 index 001c2827977..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": false - }, - { - "isProjectedFalse": false - } - ] - } -} ---------------- - -Query: ---------------- -find({ }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap deleted file mode 100644 index 001c2827977..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": false - }, - { - "isProjectedFalse": false - } - ] - } -} ---------------- - -Query: ---------------- -find({ }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap deleted file mode 100644 index 001c2827977..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": false - }, - { - "isProjectedFalse": false - } - ] - } -} ---------------- - -Query: ---------------- -find({ }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index 41714d2663c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index 41714d2663c..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index 9e923ea158a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index 9e923ea158a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": null - } - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index a2eec8f67e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index a2eec8f67e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index 57490de9c47..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index 57490de9c47..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index 41b0b59d1e7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index 41b0b59d1e7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index fbe70f6d7f5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index fbe70f6d7f5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index 25cbd33c0b1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index 25cbd33c0b1..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index c214c4a1229..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index c214c4a1229..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap deleted file mode 100644 index e421bdae1f9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": null - }, - { - "bar": false, - "paging": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap deleted file mode 100644 index e421bdae1f9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": null - }, - { - "bar": false, - "paging": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index 2d71547c18f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": null - }, - { - "bar": false, - "list": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "List.BarBaz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index 2d71547c18f..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": null - }, - { - "bar": false, - "list": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "List.BarBaz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index e796d45298d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index e796d45298d..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index 34ec6184680..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index 34ec6184680..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap deleted file mode 100644 index b6357557427..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap deleted file mode 100644 index b6357557427..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index 761ce0710a5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": null - }, - { - "bar": false, - "list": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "List.BarBaz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index 761ce0710a5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": null - }, - { - "bar": false, - "list": null - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "List.BarBaz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index 704ad8dd3f4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index 704ad8dd3f4..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index 6ea973d12ec..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index 6ea973d12ec..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index c6b4ebc6bea..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index c6b4ebc6bea..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index f303ba9c125..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index f303ba9c125..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Bar" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index 66fd9e88d6e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index 66fd9e88d6e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index 7af54323810..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index 7af54323810..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap deleted file mode 100644 index 11931da4c33..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap deleted file mode 100644 index 11931da4c33..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap deleted file mode 100644 index 41cb34e7ea9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "foo" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap deleted file mode 100644 index 41cb34e7ea9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "foo" : 1, "Baz" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap deleted file mode 100644 index 384c25a46e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap deleted file mode 100644 index 384c25a46e8..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Projections.Tests/__snapshots__/MongoDbProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -Query: ---------------- -find({ }, { "Baz" : 1, "Bar" : 1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap deleted file mode 100644 index cacede9218e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -aggregate([{ "$sort" : { "renameTest" : 1 } }]) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -aggregate([{ "$sort" : { "renameTest" : -1 } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index cacede9218e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -aggregate([{ "$sort" : { "renameTest" : 1 } }]) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -aggregate([{ "$sort" : { "renameTest" : -1 } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET7_0.snap deleted file mode 100644 index 0210282f29b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -aggregate([{ "$sort" : { "testName" : 1 } }]) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -aggregate([{ "$sort" : { "testName" : -1 } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET8_0.snap deleted file mode 100644 index 0210282f29b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbAggregateFluentTests.Collection_Configuration_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -aggregate([{ "$sort" : { "testName" : 1 } }]) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -aggregate([{ "$sort" : { "testName" : -1 } }]) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index 392db322ac5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "renameTest" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "renameTest" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET8_0.snap deleted file mode 100644 index 47d0869ec2b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "testName" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "testName" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap deleted file mode 100644 index 6ea0086ac4e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - }, - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0] } }).sort({ "Qux" : 1, "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - }, - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0] } }).sort({ "Qux" : 1, "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap deleted file mode 100644 index 6ea0086ac4e..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.FindFluent_CombineQuery_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - }, - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0] } }).sort({ "Qux" : 1, "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "2020-01-11T00:00:00.000Z" - }, - { - "bar": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ "Bar" : { "$gt" : [NumberLong("630822816000000000"), 0] } }).sort({ "Qux" : 1, "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.BsonElement_Rename_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET6_0.snap deleted file mode 100644 index 392db322ac5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET6_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "renameTest" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "renameTest" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET7_0.snap deleted file mode 100644 index 392db322ac5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "renameTest" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "renameTest" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET8_0.snap deleted file mode 100644 index 392db322ac5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.BsonElement_Rename_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "renameTest" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "renameTest" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbFindFluentTests.Collection_Configuration_NET7_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET6_0.snap deleted file mode 100644 index 47d0869ec2b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET6_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "testName" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "testName" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET7_0.snap deleted file mode 100644 index 47d0869ec2b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "testName" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "testName" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET8_0.snap deleted file mode 100644 index 47d0869ec2b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortCollectionTests.Collection_Configuration_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-11T00:00:00.000Z" - }, - { - "baz": "2020-01-12T00:00:00.000Z" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "testName" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "2020-01-12T00:00:00.000Z" - }, - { - "baz": "2020-01-11T00:00:00.000Z" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "testName" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET7_0.snap deleted file mode 100644 index ec4b31ac3e7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET8_0.snap deleted file mode 100644 index ec4b31ac3e7..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index ca985155769..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index ca985155769..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap deleted file mode 100644 index 1c3b91b617a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap deleted file mode 100644 index 1c3b91b617a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 53e5d812fed..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 53e5d812fed..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap deleted file mode 100644 index 8ce925006cd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap deleted file mode 100644 index 8ce925006cd..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 60cd5ecc996..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 60cd5ecc996..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap deleted file mode 100644 index a9f31429cc9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap deleted file mode 100644 index a9f31429cc9..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 24621c9dee5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 24621c9dee5..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap deleted file mode 100644 index bf43813850a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarBool" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap deleted file mode 100644 index bf43813850a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - }, - { - "foo": null - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarBool" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarBool" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap deleted file mode 100644 index e078dcc8fe6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap deleted file mode 100644 index e078dcc8fe6..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarEnum" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap deleted file mode 100644 index 621febcfc52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap deleted file mode 100644 index 621febcfc52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": null - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap deleted file mode 100644 index 0f6e3908d52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarString" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarString" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap deleted file mode 100644 index 0f6e3908d52..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarString" : 1 }) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 Query: ---------------- -find({ }).sort({ "Foo.BarString" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap deleted file mode 100644 index 97245df7957..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap deleted file mode 100644 index 97245df7957..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarShort" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap deleted file mode 100644 index 677f5abc18b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarString" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarString" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap deleted file mode 100644 index 677f5abc18b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Foo.BarString" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Foo.BarString" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap deleted file mode 100644 index c356ea7aa8a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap deleted file mode 100644 index c356ea7aa8a..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable.snap diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 4ca8d48233b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 4ca8d48233b..00000000000 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Sorting.Tests/__snapshots__/MongoDbSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC Query: ---------------- -find({ }).sort({ "Bar" : 1 }) ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC Query: ---------------- -find({ }).sort({ "Bar" : -1 }) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 0baf12a4c46..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 0baf12a4c46..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 0cbddaf5ad7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 0cbddaf5ad7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_BooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index a7e1b4abe84..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index a7e1b4abe84..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 0c16c184508..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 0c16c184508..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorBooleanTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap deleted file mode 100644 index c2d4b0718b3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap deleted file mode 100644 index c2d4b0718b3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 0b4529e8242..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 0b4529e8242..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort >= $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 9b66dd798d9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 9b66dd798d9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort > $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap deleted file mode 100644 index 89eba8d8cc0..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Foos' where BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Foos' where BarShort in ($p0) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap deleted file mode 100644 index 89eba8d8cc0..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Foos' where BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Foos' where BarShort in ($p0) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 5f7080c14ad..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 5f7080c14ad..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort <= $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 8f55ec6ca18..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 8f55ec6ca18..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where BarShort < $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 44cec582d59..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort != $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 44cec582d59..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where BarShort != $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where BarShort != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index a85df04835f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index a85df04835f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort >= $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index 6853257ff60..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index 6853257ff60..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort > $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap deleted file mode 100644 index f5a6d76e343..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Foos' where (true and not BarShort in ($p0)) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Foos' where (true and not BarShort in ($p0)) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap deleted file mode 100644 index f5a6d76e343..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Foos' where (true and not BarShort in ($p0)) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Foos' where (true and not BarShort in ($p0)) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index b32a22120a8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index b32a22120a8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort <= $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index 3b5eef3a052..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index 3b5eef3a052..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'Foos' where (true and not (BarShort < $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap deleted file mode 100644 index 6dd42accb51..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap deleted file mode 100644 index 6dd42accb51..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarShort = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 3f9d1161e05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 3f9d1161e05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort >= $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index b281adff366..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index b281adff366..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort > $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap deleted file mode 100644 index d289db5a62d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap deleted file mode 100644 index d289db5a62d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'FooNullables' where BarShort in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index 360c41f8500..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index 360c41f8500..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort <= $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap deleted file mode 100644 index be271aca885..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap deleted file mode 100644 index be271aca885..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (BarShort < $p0 and BarShort != $p1) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap deleted file mode 100644 index ab3781c25aa..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap deleted file mode 100644 index ab3781c25aa..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,71 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarShort != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index c5744a0d5a9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index c5744a0d5a9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort >= $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap deleted file mode 100644 index ebe17ed7835..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap deleted file mode 100644 index ebe17ed7835..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort > $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap deleted file mode 100644 index 97b1dd7c9c3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap deleted file mode 100644 index 97b1dd7c9c3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'FooNullables' where (true and not BarShort in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap deleted file mode 100644 index ea2c73d0a9b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET7_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap deleted file mode 100644 index ea2c73d0a9b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ /dev/null @@ -1,90 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort <= $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap deleted file mode 100644 index e4ae11dbcf1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET7_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap deleted file mode 100644 index e4ae11dbcf1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap +++ /dev/null @@ -1,99 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - }, - { - "barShort": 13 - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -14 Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -14 SQL: ---------------- -from 'FooNullables' where (true and not ((BarShort < $p0 and BarShort != $p1))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap deleted file mode 100644 index c2f24d2e963..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Foos' where BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap deleted file mode 100644 index c2f24d2e963..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Foos' where BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap deleted file mode 100644 index ec4cb404966..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Foos' where BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap deleted file mode 100644 index ec4cb404966..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Foos' where BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index b819f6c682a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Foos' where BarEnum != $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index b819f6c682a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Foos' where BarEnum != $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where BarEnum != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "FooEnum!", - "filterType": "FooEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index f202a29b1ed..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Foos' where (true and not BarEnum in ($p0)) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where (true and not BarEnum in ($p0)) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index f202a29b1ed..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Foos' where (true and not BarEnum in ($p0)) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Foos' where (true and not BarEnum in ($p0)) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `nin` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "nin", - "fieldType": "[FooEnum!]", - "locationType": "[FooEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 2597903add6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 2597903add6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarEnum = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index f0909bf430c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index f0909bf430c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "FOO" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'FooNullables' where BarEnum in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 860b2511f5b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 860b2511f5b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,80 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where BarEnum != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap deleted file mode 100644 index 319cf373bd9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap deleted file mode 100644 index 319cf373bd9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_NullableEnumNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": null - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'FooNullables' where (true and not BarEnum in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression.snap index 8b8cc61d61e..ad24dfcefa1 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression.snap @@ -1,4 +1,4 @@ -true +true Result: --------------- { "data": { @@ -11,7 +11,12 @@ true } --------------- -false +true SQL: +--------------- +from 'Foos' where Bar = $p0 +--------------- + +false Result: --------------- { "data": { @@ -23,3 +28,8 @@ false } } --------------- + +false SQL: +--------------- +from 'Foos' where Bar = $p0 +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap deleted file mode 100644 index ad24dfcefa1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index ad24dfcefa1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index ad24dfcefa1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression.snap index 781a8171442..f6f472c7ca3 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression.snap @@ -1,4 +1,4 @@ -true +true Result: --------------- { "data": { @@ -11,7 +11,12 @@ true } --------------- -false +true SQL: +--------------- +from 'Foos' where Bar != $p0 +--------------- + +false Result: --------------- { "data": { @@ -23,3 +28,8 @@ false } } --------------- + +false SQL: +--------------- +from 'Foos' where Bar != $p0 +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap deleted file mode 100644 index f6f472c7ca3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index f6f472c7ca3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index f6f472c7ca3..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_BooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression.snap index 526c3ab37d4..1d4dd984b14 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression.snap @@ -1,4 +1,4 @@ -true +true Result: --------------- { "data": { @@ -11,7 +11,12 @@ true } --------------- -false +true SQL: +--------------- +from 'FooNullables' where Bar = $p0 +--------------- + +false Result: --------------- { "data": { @@ -24,7 +29,12 @@ false } --------------- -null +false SQL: +--------------- +from 'FooNullables' where Bar = $p0 +--------------- + +null Result: --------------- { "data": { @@ -36,3 +46,8 @@ null } } --------------- + +null SQL: +--------------- +from 'FooNullables' where Bar = $p0 +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap deleted file mode 100644 index 1d4dd984b14..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 1d4dd984b14..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 1d4dd984b14..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression.snap index 65cba4cbaaf..ac054ffdb4c 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression.snap @@ -1,8 +1,11 @@ -true +true Result: --------------- { "data": { "rootExecutable": [ + { + "bar": null + }, { "bar": false } @@ -11,20 +14,33 @@ true } --------------- -false +true SQL: +--------------- +from 'FooNullables' where Bar != $p0 +--------------- + +false Result: --------------- { "data": { "rootExecutable": [ { "bar": true + }, + { + "bar": null } ] } } --------------- -null +false SQL: +--------------- +from 'FooNullables' where Bar != $p0 +--------------- + +null Result: --------------- { "data": { @@ -39,3 +55,8 @@ null } } --------------- + +null SQL: +--------------- +from 'FooNullables' where Bar != $p0 +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap deleted file mode 100644 index ac054ffdb4c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET6_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap deleted file mode 100644 index ac054ffdb4c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap deleted file mode 100644 index ac054ffdb4c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorExecutableTests.Create_NullableBooleanNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -true Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": null - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 926279545d5..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'BarInterfaces' where Test.Prop = $p0 ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -from 'BarInterfaces' where Test.Prop = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 926279545d5..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "a" - } - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'BarInterfaces' where Test.Prop = $p0 ---------------- - -ba Result: ---------------- -{ - "data": { - "root": [ - { - "test": { - "prop": "b" - } - } - ] - } -} ---------------- - -ba SQL: ---------------- -from 'BarInterfaces' where Test.Prop = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index c5a4c3544ca..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where (true and not exists(FooNested)) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where exists(FooNested) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index c5a4c3544ca..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,93 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -from 'Foos' where (true and not exists(FooNested)) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Foos' where exists(FooNested) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 6c5364ddefd..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 6c5364ddefd..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayNoneObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,148 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'Foos' where (true and FooNested[].Bar != $p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap deleted file mode 100644 index 0a711ccdd64..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET7_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap deleted file mode 100644 index 0a711ccdd64..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArraySomeObjectStringEqualWithNull_Expression_NET8_0.snap +++ /dev/null @@ -1,135 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "a" - }, - { - "bar": "a" - } - ] - }, - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- - -d Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": "a" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": "c" - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - }, - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -d SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "fooNested": [ - { - "bar": null - }, - { - "bar": "d" - }, - { - "bar": "b" - } - ] - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'Foos' where FooNested[].Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap deleted file mode 100644 index eabcc70fd40..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,83 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -from 'Bars' where (true and not exists(Foo.ObjectArray)) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Bars' where exists(Foo.ObjectArray) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListFilterInputTypeOfBarFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap deleted file mode 100644 index eabcc70fd40..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,83 +0,0 @@ -false Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -false SQL: ---------------- -from 'Bars' where (true and not exists(Foo.ObjectArray)) ---------------- - -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Bars' where exists(Foo.ObjectArray) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Boolean!", - "filterType": "ListFilterInputTypeOfBarFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 34c6422f501..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Bars' where Foo.ObjectArray[].Foo.BarString = $p0 ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Bars' where Foo.ObjectArray[].Foo.BarString = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 34c6422f501..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,79 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a" - } - } - ] - } - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Bars' where Foo.ObjectArray[].Foo.BarString = $p0 ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "d" - } - } - ] - } - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Bars' where Foo.ObjectArray[].Foo.BarString = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 30d85e46b5f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Bars' where Foo.BarBool = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Bars' where Foo.BarBool = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 30d85e46b5f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,44 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'Bars' where Foo.BarBool = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'Bars' where Foo.BarBool = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index 21402860cf4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Bars' where Foo.BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Bars' where Foo.BarEnum = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index 21402860cf4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'Bars' where Foo.BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Bars' where Foo.BarEnum = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "BarEnum!", - "filterType": "BarEnumOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap deleted file mode 100644 index 44491c98adb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Bars' where Foo.BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Bars' where Foo.BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap deleted file mode 100644 index 44491c98adb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,70 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'Bars' where Foo.BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'Bars' where Foo.BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "errors": [ - { - "message": "The specified value type of field `in` does not match the field type.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], - "path": [ - "root" - ], - "extensions": { - "fieldName": "in", - "fieldType": "[BarEnum!]", - "locationType": "[BarEnum!]", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Values-of-Correct-Type" - } - } - ] -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap deleted file mode 100644 index 9d5bc366cb7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap deleted file mode 100644 index 9d5bc366cb7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableBooleanEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -true SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -false SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarBool = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap deleted file mode 100644 index c951163b89c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap deleted file mode 100644 index c951163b89c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -BAR Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -BAR SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarEnum = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap index 80a670db07c..244300ed864 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression.snap @@ -1,80 +1,64 @@ -BarAndFoo +BarAndFoo Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barEnum": "BAR" + } + }, + { + "foo": { + "barEnum": "FOO" } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[HotChocolate.Data.Filters.QueryableFilterVisitorObjectTests\u002BBarEnum][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- -FOO +BarAndFoo SQL: +--------------- +from 'BarNullables' where Foo.BarEnum in ($p0) +--------------- + +FOO Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barEnum": "FOO" } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[HotChocolate.Data.Filters.QueryableFilterVisitorObjectTests\u002BBarEnum][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- -nullAndFoo +FOO SQL: +--------------- +from 'BarNullables' where Foo.BarEnum in ($p0) +--------------- + +nullAndFoo Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barEnum": "FOO" } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[HotChocolate.Data.Filters.QueryableFilterVisitorObjectTests\u002BBarEnum][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- + +nullAndFoo SQL: +--------------- +from 'BarNullables' where Foo.BarEnum in ($p0) +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap deleted file mode 100644 index 244300ed864..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET6_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap deleted file mode 100644 index 244300ed864..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap deleted file mode 100644 index 244300ed864..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableEnumIn_Expression_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -BarAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -BarAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -FOO Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -FOO SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- - -nullAndFoo Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -nullAndFoo SQL: ---------------- -from 'BarNullables' where Foo.BarEnum in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 50d3e299097..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 50d3e299097..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'BarNullables' where Foo.BarShort = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap index 2c102346f9b..4d667442929 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression.snap @@ -1,80 +1,74 @@ -12and13 +12and13 Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barShort": 12 + } + }, + { + "foo": { + "barShort": 13 } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[System.Int16][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.GetAsyncDocumentQuery(Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 182\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 148\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- -13and14 +12and13 SQL: +--------------- +from 'BarNullables' where Foo.BarShort in ($p0) +--------------- + +13and14 Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barShort": 14 + } + }, + { + "foo": { + "barShort": 13 } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[System.Int16][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.GetAsyncDocumentQuery(Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 182\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 148\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- -13andNull +13and14 SQL: +--------------- +from 'BarNullables' where Foo.BarShort in ($p0) +--------------- + +13andNull Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barShort": null + } + }, + { + "foo": { + "barShort": 13 } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Nullable\u00601[System.Int16][])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.GetAsyncDocumentQuery(Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 182\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 148\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- + +13andNull SQL: +--------------- +from 'BarNullables' where Foo.BarShort in ($p0) +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap deleted file mode 100644 index 4d667442929..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET6_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap deleted file mode 100644 index 4d667442929..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap deleted file mode 100644 index 4d667442929..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNullableShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,74 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- - -13andNull Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13andNull SQL: ---------------- -from 'BarNullables' where Foo.BarShort in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap deleted file mode 100644 index 552ba1f804c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Bars' where Foo.BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Bars' where Foo.BarShort = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap deleted file mode 100644 index 552ba1f804c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -12 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -12 SQL: ---------------- -from 'Bars' where Foo.BarShort = $p0 ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'Bars' where Foo.BarShort = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "Short!", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index 80be87556bd..e8a0939b842 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -1,63 +1,59 @@ -12and13 +12and13 Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barShort": 12 + } + }, + { + "foo": { + "barShort": 13 } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Collections.Generic.List\u00601[System.Int16])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- -13and14 +12and13 SQL: +--------------- +from 'Bars' where Foo.BarShort in ($p0) +--------------- + +13and14 Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barShort": 14 + } + }, + { + "foo": { + "barShort": 13 } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.Collections.Generic.List\u00601[System.Int16])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- +13and14 SQL: +--------------- +from 'Bars' where Foo.BarShort in ($p0) +--------------- + nullAnd14 --------------- { "errors": [ { - "message": "The provided value for filter \u0060in\u0060 of type ShortOperationFilterInput is invalid. Null values are not supported.", + "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", "locations": [ { "line": 1, @@ -75,7 +71,7 @@ nullAnd14 } ], "data": { - "root": [] + "root": null } } --------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap deleted file mode 100644 index e8a0939b842..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET6_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap deleted file mode 100644 index e8a0939b842..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET7_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap deleted file mode 100644 index e8a0939b842..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0.snap +++ /dev/null @@ -1,77 +0,0 @@ -12and13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -12and13 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -13and14 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - } - ] - } -} ---------------- - -13and14 SQL: ---------------- -from 'Bars' where Foo.BarShort in ($p0) ---------------- - -nullAnd14 ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[Short!]", - "filterType": "ShortOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap deleted file mode 100644 index cd8a5751b01..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Bars' where Foo.BarString = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Bars' where Foo.BarString = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap deleted file mode 100644 index cd8a5751b01..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,67 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Bars' where Foo.BarString = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Bars' where Foo.BarString = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index 845adb6874e..a676e6ca91c 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -1,36 +1,34 @@ -testatestAndtestb +testatestAndtestb Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barString": "testatest" + } + }, + { + "foo": { + "barString": "testbtest" } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.String[])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- +testatestAndtestb SQL: +--------------- +from 'Bars' where Foo.BarString in ($p0) +--------------- + testbtestAndNull --------------- { "errors": [ { - "message": "The provided value for filter \u0060in\u0060 of type StringOperationFilterInput is invalid. Null values are not supported.", + "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", "locations": [ { "line": 1, @@ -48,34 +46,27 @@ testbtestAndNull } ], "data": { - "root": [] + "root": null } } --------------- -testatest +testatest Result: --------------- { - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 1, - "column": 3 + "data": { + "root": [ + { + "foo": { + "barString": "testatest" } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand how to translate \u0027value(System.String[])\u0027 to a RavenDB query.\nAre you trying to do computation during the query?\nRavenDB doesn\u0027t allow computation during the query, computation is only allowed during index. Consider moving the operation to an index.", - "stackTrace": " at Raven.Client.Documents.Linq.LinqPathProvider.GetMemberExpression(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 362\n at Raven.Client.Documents.Linq.LinqPathProvider.GetPath(Expression expression, Boolean isFilterActive) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\LinqPathProvider.cs:line 49\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetMemberDirect(Expression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 691\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitContains(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1227\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitEnumerableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1794\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitQueryableMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 2110\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.VisitMethodCall(MethodCallExpression expression) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 1375\n at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 152\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_2\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__3\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 108\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.FilterVisitorTestBase.\u003C\u003Ec__DisplayClass7_1\u00602.\u003C\u003CApplyConfigurationToField\u003Eb__2\u003Ed.MoveNext() in /Users/michael/local/hc-4/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/FilterVisitorTestBase.cs:line 98\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/michael/local/hc-4/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" } - } - ], - "data": { - "root": null + ] } } --------------- + +testatest SQL: +--------------- +from 'Bars' where Foo.BarString in ($p0) +--------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap deleted file mode 100644 index a676e6ca91c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET6_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap deleted file mode 100644 index a676e6ca91c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap deleted file mode 100644 index a676e6ca91c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,72 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Bars' where Foo.BarString in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap deleted file mode 100644 index 0608d1df80c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'FooNullables' where regex(Bar, $p0) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'FooNullables' where regex(Bar, $p0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap deleted file mode 100644 index 0608d1df80c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'FooNullables' where regex(Bar, $p0) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'FooNullables' where regex(Bar, $p0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 672d05a9409..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 672d05a9409..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap deleted file mode 100644 index 9bcdecc5ecf..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap deleted file mode 100644 index 9bcdecc5ecf..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar = $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap deleted file mode 100644 index f593d0823b1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap deleted file mode 100644 index f593d0823b1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap deleted file mode 100644 index cb7c89cbc48..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'FooNullables' where (true and not regex(Bar, $p0)) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'FooNullables' where (true and not regex(Bar, $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap deleted file mode 100644 index cb7c89cbc48..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'FooNullables' where (true and not regex(Bar, $p0)) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'FooNullables' where (true and not regex(Bar, $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 273ba88aa41..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 273ba88aa41..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index 7cff4a47e85..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index 7cff4a47e85..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- - -null Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -null SQL: ---------------- -from 'FooNullables' where Bar != $p0 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap deleted file mode 100644 index 9a19438e46b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap deleted file mode 100644 index 9a19438e46b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- - -testbtestAndNull Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtestAndNull SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'FooNullables' where (true and not Bar in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 0314246cf5b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 0314246cf5b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,69 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'FooNullables' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap deleted file mode 100644 index be3b45acbd2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index be3b45acbd2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'FooNullables' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap deleted file mode 100644 index 778ddd54e6f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where regex(Bar, $p0) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Foos' where regex(Bar, $p0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap deleted file mode 100644 index 778ddd54e6f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where regex(Bar, $p0) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Foos' where regex(Bar, $p0) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap deleted file mode 100644 index 4f41e841d03..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'Foos' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'Foos' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap deleted file mode 100644 index 4f41e841d03..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'Foos' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'Foos' where (Bar != $p0 and endsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap deleted file mode 100644 index dbfdbab537a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap deleted file mode 100644 index dbfdbab537a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Foos' where Bar = $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap deleted file mode 100644 index 90a32ad6b0c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET7_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Foos' where Bar in ($p0) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap deleted file mode 100644 index 90a32ad6b0c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0.snap +++ /dev/null @@ -1,66 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Foos' where Bar in ($p0) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar in ($p0) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap deleted file mode 100644 index 6e466cc6135..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where (true and not regex(Bar, $p0)) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Foos' where (true and not regex(Bar, $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap deleted file mode 100644 index 6e466cc6135..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -a Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -a SQL: ---------------- -from 'Foos' where (true and not regex(Bar, $p0)) ---------------- - -b Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -b SQL: ---------------- -from 'Foos' where (true and not regex(Bar, $p0)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap deleted file mode 100644 index d0a4ce19d7d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap deleted file mode 100644 index d0a4ce19d7d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -atest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -atest SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -btest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -btest SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and endsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap deleted file mode 100644 index ea348a3737d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap deleted file mode 100644 index ea348a3737d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -testbtest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testbtest SQL: ---------------- -from 'Foos' where Bar != $p0 ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap deleted file mode 100644 index 7b403d34fff..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Foos' where (true and not Bar in ($p0)) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where (true and not Bar in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap deleted file mode 100644 index 7b403d34fff..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -testatestAndtestb Result: ---------------- -{ - "data": { - "root": [] - } -} ---------------- - -testatestAndtestb SQL: ---------------- -from 'Foos' where (true and not Bar in ($p0)) ---------------- - -testbtestAndNull ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "[String!]", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- - -testatest Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testatest SQL: ---------------- -from 'Foos' where (true and not Bar in ($p0)) ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 269291daadb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 269291daadb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'Foos' where (true and not ((Bar != $p0 and startsWith(Bar, $p1)))) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap deleted file mode 100644 index 70cc72b3f05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET7_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'Foos' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'Foos' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap deleted file mode 100644 index 70cc72b3f05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0.snap +++ /dev/null @@ -1,63 +0,0 @@ -testa Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - } - ] - } -} ---------------- - -testa SQL: ---------------- -from 'Foos' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -testb Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - } - ] - } -} ---------------- - -testb SQL: ---------------- -from 'Foos' where (Bar != $p0 and startsWith(Bar, $p1)) ---------------- - -null ---------------- -{ - "errors": [ - { - "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], - "path": [ - "root" - ], - "extensions": { - "code": "HC0026", - "expectedType": "String!", - "filterType": "StringOperationFilterInput" - } - } - ], - "data": { - "root": null - } -} ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap deleted file mode 100644 index dae43460cf8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap deleted file mode 100644 index dae43460cf8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index 4f2e8c33942..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index 4f2e8c33942..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap deleted file mode 100644 index c0d21d2ab14..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index c0d21d2ab14..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index 4e96ad65b23..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index 4e96ad65b23..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap deleted file mode 100644 index 86525376742..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 86525376742..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableFirstOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 1).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap deleted file mode 100644 index 9996673dd10..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET6_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ] -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection was not found. Register projection with [UseProjection] or descriptor.UseProjection(). - ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap deleted file mode 100644 index 9996673dd10..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeMissingMiddleware_NET7_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "missingMiddleware" - ], - "extensions": { - "code": "HC0018" - } - } - ] -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection was not found. Register projection with [UseProjection] or descriptor.UseProjection(). - ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap deleted file mode 100644 index 0fbba9e417f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET6_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ] -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Projections.QueryableProjectionExtensionsTests+Foo, HotChocolate.Data.Projections.SqlServer.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap deleted file mode 100644 index 0fbba9e417f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionExtensionsTests.Extension_Should_BeTypeMismatch_NET7_0.snap +++ /dev/null @@ -1,30 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 1, - "column": 3 - } - ], - "path": [ - "typeMismatch" - ], - "extensions": { - "code": "HC0018" - } - } - ] -} ---------------- - -Exception: ---------------- -For more details look at the `Errors` property. - -1. Projection is expected to be of type System.Collections.Generic.IEnumerable`1[[HotChocolate.Data.Projections.QueryableProjectionExtensionsTests+Foo, HotChocolate.Data.Projections.SqlServer.Tests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], but was of type System.Object - ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index e0ed6f301d2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index e0ed6f301d2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap deleted file mode 100644 index a1200358274..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index a1200358274..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": [] - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index de416ca4ddc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,33 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index de416ca4ddc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,33 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap deleted file mode 100644 index 29d2b9fb6c2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 29d2b9fb6c2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": [] - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.filter(_s0=>_s0.Foo.BarString===$p0).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap deleted file mode 100644 index db52a3a7a25..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET7_0.snap +++ /dev/null @@ -1,88 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 9, - "column": 41 - } - ], - "path": [ - "root", - 2, - "foo", - "nestedObject", - "foo", - "barString" - ], - "extensions": { - "code": "HC0018" - } - }, - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 9, - "column": 41 - } - ], - "path": [ - "root", - 1, - "foo", - "nestedObject", - "foo", - "barString" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": { - "root": [ - { - "id": "BarNullables/1-A", - "foo": { - "id": null, - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "id": "BarNullables/2-A", - "foo": { - "id": null, - "barEnum": "FOO", - "nestedObject": { - "foo": null - } - } - }, - { - "id": "BarNullables/3-A", - "foo": { - "id": null, - "barEnum": null, - "nestedObject": { - "foo": null - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Id : id(_s1), Foo : { Id : _s1.Foo.Id, BarEnum : _s1.Foo.BarEnum, NestedObject : { Foo : { BarString : _s1.Foo.NestedObject.Foo.BarString } } } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap deleted file mode 100644 index db52a3a7a25..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_Deep_NET8_0.snap +++ /dev/null @@ -1,88 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 9, - "column": 41 - } - ], - "path": [ - "root", - 2, - "foo", - "nestedObject", - "foo", - "barString" - ], - "extensions": { - "code": "HC0018" - } - }, - { - "message": "Cannot return null for non-nullable field.", - "locations": [ - { - "line": 9, - "column": 41 - } - ], - "path": [ - "root", - 1, - "foo", - "nestedObject", - "foo", - "barString" - ], - "extensions": { - "code": "HC0018" - } - } - ], - "data": { - "root": [ - { - "id": "BarNullables/1-A", - "foo": { - "id": null, - "barEnum": "BAR", - "nestedObject": { - "foo": { - "barString": "Foo" - } - } - } - }, - { - "id": "BarNullables/2-A", - "foo": { - "id": null, - "barEnum": "FOO", - "nestedObject": { - "foo": null - } - } - }, - { - "id": "BarNullables/3-A", - "foo": { - "id": null, - "barEnum": null, - "nestedObject": { - "foo": null - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Id : id(_s1), Foo : { Id : _s1.Foo.Id, BarEnum : _s1.Foo.BarEnum, NestedObject : { Foo : { BarString : _s1.Foo.NestedObject.Foo.BarString } } } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap deleted file mode 100644 index 6b29e58e439..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "id": null - } - }, - { - "foo": { - "id": null - } - }, - { - "foo": { - "id": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { Id : _s1.Foo.Id } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap deleted file mode 100644 index 6b29e58e439..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "id": null - } - }, - { - "foo": { - "id": null - } - }, - { - "foo": { - "id": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { Id : _s1.Foo.Id } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap deleted file mode 100644 index 61dfb9b7940..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET7_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": "BarNullables/1-A", - "foo": { - "id": null, - "barEnum": "BAR" - } - }, - { - "id": "BarNullables/2-A", - "foo": { - "id": null, - "barEnum": "FOO" - } - }, - { - "id": "BarNullables/3-A", - "foo": { - "id": null, - "barEnum": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Id : id(_s1), Foo : { Id : _s1.Foo.Id, BarEnum : _s1.Foo.BarEnum } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap deleted file mode 100644 index 61dfb9b7940..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionFilterTests.Should_NotInitializeObject_When_ResultOfLeftJoinIsNull_TwoFields_NET8_0.snap +++ /dev/null @@ -1,35 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": "BarNullables/1-A", - "foo": { - "id": null, - "barEnum": "BAR" - } - }, - { - "id": "BarNullables/2-A", - "foo": { - "id": null, - "barEnum": "FOO" - } - }, - { - "id": "BarNullables/3-A", - "foo": { - "id": null, - "barEnum": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Id : id(_s1), Foo : { Id : _s1.Foo.Id, BarEnum : _s1.Foo.BarEnum } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionISetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface.snap deleted file mode 100644 index 89f76493981..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Cannot find collection name for abstract class HotChocolate.Data.Raven.QueryableProjectionInterfaceTypeTests\u002BAbstractType, only concrete class are supported. Did you forget to customize Conventions.FindCollectionName?", - "stackTrace": " at Raven.Client.Documents.Conventions.DocumentConventions.DefaultGetCollectionName(Type t) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 931\n at Raven.Client.Documents.Conventions.DocumentConventions.GetCollectionName(Type type) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 968\n at Raven.Client.Documents.Session.InMemoryDocumentSessionOperations.ProcessQueryParameters(Type type, String indexName, String collectionName, DocumentConventions conventions) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\InMemoryDocumentSessionOperations.cs:line 2449\n at Raven.Client.Documents.Session.AsyncDocumentSession.Query[T](String indexName, String collectionName, Boolean isMapReduce) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentSession.Query.cs:line 20\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__5\u00601.\u003CBuildResolver\u003Eb__5_0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 41\n at HotChocolate.Types.ResolveObjectFieldDescriptorExtensions.\u003C\u003Ec__DisplayClass2_0\u00601.\u003CResolve\u003Eb__0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Extensions/ResolveObjectFieldDescriptorExtensions.cs:line 73\n at HotChocolate.Types.Helpers.FieldMiddlewareCompiler.\u003C\u003Ec__DisplayClass9_0.\u003C\u003CCreateResolverMiddleware\u003Eb__0\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Helpers/FieldMiddlewareCompiler.cs:line 130\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Sorting.Expressions.QueryableSortProvider.\u003C\u003Ec__DisplayClass9_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Sorting/Expressions/QueryableSortProvider.cs:line 51\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.Expressions.QueryableFilterProvider.\u003C\u003Ec__DisplayClass10_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs:line 55\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Projections.Expressions.QueryableProjectionProvider.\u003C\u003Ec__DisplayClass4_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Projections/Expressions/QueryableProjectionProvider.cs:line 40\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 150\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET6_0.snap deleted file mode 100644 index 2bb26ae12a4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET6_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060name\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "name", - "responseName": "name", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - }, - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 5, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Foo", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - }, - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 8, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Bar", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap deleted file mode 100644 index 2bb26ae12a4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NET7_0.snap +++ /dev/null @@ -1,56 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060name\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "name", - "responseName": "name", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - }, - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 5, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Foo", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - }, - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 8, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Bar", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET6_0.snap deleted file mode 100644 index fa86d1afaba..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 51\nQuery: from \u0027NestedLists\u0027 as _s1 select { List : _s1.List.map(function(p1){return ? {Name:p1.Name,BarProp:p1.BarProp} : (?{Name:p1.Name,FooProp:p1.FooProp}:);}) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseFunctionSourceElements()\n at Esprima.JavaScriptParser.ParseFunctionExpression()\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseArguments()\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1082\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1072\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1032\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1014\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedLists' as _s1 select { List : _s1.List.map(function(p1){return ? {Name:p1.Name,BarProp:p1.BarProp} : (?{Name:p1.Name,FooProp:p1.FooProp}:);}) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap deleted file mode 100644 index fa86d1afaba..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_NestedList_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 51\nQuery: from \u0027NestedLists\u0027 as _s1 select { List : _s1.List.map(function(p1){return ? {Name:p1.Name,BarProp:p1.BarProp} : (?{Name:p1.Name,FooProp:p1.FooProp}:);}) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseFunctionSourceElements()\n at Esprima.JavaScriptParser.ParseFunctionExpression()\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseArguments()\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1082\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1072\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1032\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1014\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedLists' as _s1 select { List : _s1.List.map(function(p1){return ? {Name:p1.Name,BarProp:p1.BarProp} : (?{Name:p1.Name,FooProp:p1.FooProp}:);}) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET6_0.snap deleted file mode 100644 index 7d8f24117a7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 20\nQuery: from \u0027NestedObjects\u0027 as _s1 select { Nested : ? {Name:_s1.Nested.Name,BarProp:_s1.Nested.BarProp} : (?{Name:_s1.Nested.Name,FooProp:_s1.Nested.FooProp}:) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1088\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1073\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1033\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1017\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedObjects' as _s1 select { Nested : ? {Name:_s1.Nested.Name,BarProp:_s1.Nested.BarProp} : (?{Name:_s1.Nested.Name,FooProp:_s1.Nested.FooProp}:) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap deleted file mode 100644 index f43ecbbbce5..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Nested_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 20\nQuery: from \u0027NestedObjects\u0027 as _s1 select { Nested : ? {Name:_s1.Nested.Name,BarProp:_s1.Nested.BarProp} : (?{Name:_s1.Nested.Name,FooProp:_s1.Nested.FooProp}:) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1082\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1072\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1032\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1014\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedObjects' as _s1 select { Nested : ? {Name:_s1.Nested.Name,BarProp:_s1.Nested.BarProp} : (?{Name:_s1.Nested.Name,FooProp:_s1.Nested.FooProp}:) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap deleted file mode 100644 index 823a85c4a05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET6_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060nodes\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "nodes", - "responseName": "nodes", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap deleted file mode 100644 index 823a85c4a05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Pagination_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060nodes\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "nodes", - "responseName": "nodes", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing.snap deleted file mode 100644 index 89f76493981..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Cannot find collection name for abstract class HotChocolate.Data.Raven.QueryableProjectionInterfaceTypeTests\u002BAbstractType, only concrete class are supported. Did you forget to customize Conventions.FindCollectionName?", - "stackTrace": " at Raven.Client.Documents.Conventions.DocumentConventions.DefaultGetCollectionName(Type t) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 931\n at Raven.Client.Documents.Conventions.DocumentConventions.GetCollectionName(Type type) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 968\n at Raven.Client.Documents.Session.InMemoryDocumentSessionOperations.ProcessQueryParameters(Type type, String indexName, String collectionName, DocumentConventions conventions) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\InMemoryDocumentSessionOperations.cs:line 2449\n at Raven.Client.Documents.Session.AsyncDocumentSession.Query[T](String indexName, String collectionName, Boolean isMapReduce) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentSession.Query.cs:line 20\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__5\u00601.\u003CBuildResolver\u003Eb__5_0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 41\n at HotChocolate.Types.ResolveObjectFieldDescriptorExtensions.\u003C\u003Ec__DisplayClass2_0\u00601.\u003CResolve\u003Eb__0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Extensions/ResolveObjectFieldDescriptorExtensions.cs:line 73\n at HotChocolate.Types.Helpers.FieldMiddlewareCompiler.\u003C\u003Ec__DisplayClass9_0.\u003C\u003CCreateResolverMiddleware\u003Eb__0\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Helpers/FieldMiddlewareCompiler.cs:line 130\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Sorting.Expressions.QueryableSortProvider.\u003C\u003Ec__DisplayClass9_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Sorting/Expressions/QueryableSortProvider.cs:line 51\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.Expressions.QueryableFilterProvider.\u003C\u003Ec__DisplayClass10_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs:line 55\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Projections.Expressions.QueryableProjectionProvider.\u003C\u003Ec__DisplayClass4_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Projections/Expressions/QueryableProjectionProvider.cs:line 40\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 150\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET6_0.snap deleted file mode 100644 index b5a1a6e919e..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET6_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -{ - "errors": [ - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Foo", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET7_0.snap deleted file mode 100644 index b5a1a6e919e..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Create_Interface_Without_Missing_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -{ - "errors": [ - { - "message": "The parent type does not match the type condition on the fragment.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "typeCondition": "Foo", - "selectionSetType": "RootCollectionSegment", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Fragment-spread-is-possible" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List.snap deleted file mode 100644 index 726e8e2fc1a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Cannot find collection name for abstract class HotChocolate.Data.Raven.QueryableProjectionInterfaceTypeTests\u002BAbstractType, only concrete class are supported. Did you forget to customize Conventions.FindCollectionName?", - "stackTrace": " at Raven.Client.Documents.Conventions.DocumentConventions.DefaultGetCollectionName(Type t) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 931\n at Raven.Client.Documents.Conventions.DocumentConventions.GetCollectionName(Type type) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Conventions\\DocumentConventions.cs:line 968\n at Raven.Client.Documents.Session.InMemoryDocumentSessionOperations.ProcessQueryParameters(Type type, String indexName, String collectionName, DocumentConventions conventions) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\InMemoryDocumentSessionOperations.cs:line 2449\n at Raven.Client.Documents.Session.AsyncDocumentSession.Query[T](String indexName, String collectionName, Boolean isMapReduce) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentSession.Query.cs:line 20\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__5\u00601.\u003CBuildResolver\u003Eb__5_0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 41\n at HotChocolate.Types.ResolveObjectFieldDescriptorExtensions.\u003C\u003Ec__DisplayClass2_0\u00601.\u003CResolve\u003Eb__0(IResolverContext ctx) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Extensions/ResolveObjectFieldDescriptorExtensions.cs:line 73\n at HotChocolate.Types.Helpers.FieldMiddlewareCompiler.\u003C\u003Ec__DisplayClass9_0.\u003C\u003CCreateResolverMiddleware\u003Eb__0\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Helpers/FieldMiddlewareCompiler.cs:line 130\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Sorting.Expressions.QueryableSortProvider.\u003C\u003Ec__DisplayClass9_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Sorting/Expressions/QueryableSortProvider.cs:line 51\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Filters.Expressions.QueryableFilterProvider.\u003C\u003Ec__DisplayClass10_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs:line 55\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Projections.Expressions.QueryableProjectionProvider.\u003C\u003Ec__DisplayClass4_0\u00601.\u003C\u003CCreateExecutor\u003Eg__ExecuteAsync|1\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Data/src/Data/Projections/Expressions/QueryableProjectionProvider.cs:line 40\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 150\n--- End of stack trace from previous location ---\n at HotChocolate.Types.Pagination.PagingMiddleware.InvokeAsync(IMiddlewareContext context) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Types/Types/Pagination/PagingMiddleware.cs:line 26\n at HotChocolate.Utilities.MiddlewareCompiler\u00601.ExpressionHelper.AwaitTaskHelper(Task task) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Utilities/src/Utilities/MiddlewareCompiler.cs:line 164\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET6_0.snap deleted file mode 100644 index d44cee5cca5..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET6_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap deleted file mode 100644 index d44cee5cca5..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.OffsetPaging_Interface_List_NET7_0.snap +++ /dev/null @@ -1,25 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "name": "Bar", - "barProp": "BarProp" - }, - { - "name": "Foo", - "fooProp": "FooProp" - } - ] - } - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."Name", "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET6_0.snap deleted file mode 100644 index 823a85c4a05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET6_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060nodes\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "nodes", - "responseName": "nodes", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap deleted file mode 100644 index 823a85c4a05..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionInterfaceTypeTests.Paging_Interface_List_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060nodes\u0060 does not exist on the type \u0060RootCollectionSegment\u0060.", - "locations": [ - { - "line": 4, - "column": 33 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "RootCollectionSegment", - "field": "nodes", - "responseName": "nodes", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap deleted file mode 100644 index 6441f2a2681..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "methodList": [ - { - "barString": "Worked" - } - ] - }, - { - "methodList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap deleted file mode 100644 index 6441f2a2681..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethodList_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "methodList": [ - { - "barString": "Worked" - } - ] - }, - { - "methodList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap deleted file mode 100644 index e99e712cf48..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "method": { - "barString": "Worked" - } - }, - { - "method": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap deleted file mode 100644 index e99e712cf48..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectMethod_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "method": { - "barString": "Worked" - } - }, - { - "method": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap deleted file mode 100644 index b96995af1c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - }, - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap deleted file mode 100644 index b96995af1c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettableList_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - }, - { - "notSettableList": [ - { - "barString": "Worked" - } - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap deleted file mode 100644 index f9bff3d7498..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": { - "barString": "Worked" - } - }, - { - "notSettable": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap deleted file mode 100644 index f9bff3d7498..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_ObjectNotSettable_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": { - "barString": "Worked" - } - }, - { - "notSettable": { - "barString": "Worked" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap deleted file mode 100644 index eeaaa96dccc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap deleted file mode 100644 index eeaaa96dccc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionNestedTests.Create_Object_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index 67924f098c6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionHashSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index decf89d90fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortedSetTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,40 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectSet": [ - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectSet": [ - { - "foo": { - "barString": "d", - "barShort": 14 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectSet : _s1.Foo.ObjectSet.map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index cfd46f4d690..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.sort((a, b) => a.Foo.BarShort - b.Foo.BarShort).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index cfd46f4d690..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,62 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.sort((a, b) => a.Foo.BarShort - b.Foo.BarShort).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap deleted file mode 100644 index ea8fc856e74..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 6, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap deleted file mode 100644 index ea8fc856e74..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 6, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index ea8fc856e74..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 6, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index c13b282af53..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.sort((a, b) => a.Foo.BarShort - b.Foo.BarShort).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index c13b282af53..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": [ - { - "foo": { - "barString": "a", - "barShort": 1 - } - }, - { - "foo": { - "barString": "a", - "barShort": 3 - } - }, - { - "foo": { - "barString": "a", - "barShort": 12 - } - } - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.sort((a, b) => a.Foo.BarShort - b.Foo.BarShort).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap deleted file mode 100644 index 7f977eb678a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 7, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap deleted file mode 100644 index 7f977eb678a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 7, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 7f977eb678a..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionSortingTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "The argument `order` does not exist.", - "locations": [ - { - "line": 7, - "column": 41 - } - ], - "path": [ - "root", - "foo" - ], - "extensions": { - "type": "FooNullable", - "field": "objectArray", - "argument": "order", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Required-Arguments" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union.snap deleted file mode 100644 index b90d444c5eb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand expression: from \u0027AbstractTypes\u0027.Select(_s1 =\u003E IIF((_s1 Is Bar), Convert(new Bar() {BarProp = Convert(_s1, Bar).BarProp}, AbstractType), IIF((_s1 Is Foo), Convert(new Foo() {FooProp = Convert(_s1, Foo).FooProp}, AbstractType), default(AbstractType))))", - "stackTrace": " at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.GetAsyncDocumentQuery(Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 182\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 148\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 154\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET6_0.snap deleted file mode 100644 index 5efc8644ed9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET6_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap deleted file mode 100644 index 5efc8644ed9..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NET7_0.snap +++ /dev/null @@ -1,21 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "barProp": "BarProp" - }, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'bar', "d"."BarProp", "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET6_0.snap deleted file mode 100644 index 49f9be34ead..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 51\nQuery: from \u0027NestedLists\u0027 as _s1 select { List : _s1.List.map(function(p1){return ? {BarProp:p1.BarProp} : (?{FooProp:p1.FooProp}:);}) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseFunctionSourceElements()\n at Esprima.JavaScriptParser.ParseFunctionExpression()\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseArguments()\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1088\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1073\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1033\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1017\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedLists' as _s1 select { List : _s1.List.map(function(p1){return ? {BarProp:p1.BarProp} : (?{FooProp:p1.FooProp}:);}) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap deleted file mode 100644 index 49f9be34ead..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_NestedList_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 51\nQuery: from \u0027NestedLists\u0027 as _s1 select { List : _s1.List.map(function(p1){return ? {BarProp:p1.BarProp} : (?{FooProp:p1.FooProp}:);}) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseFunctionSourceElements()\n at Esprima.JavaScriptParser.ParseFunctionExpression()\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseArguments()\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1088\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1073\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1033\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1017\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedLists' as _s1 select { List : _s1.List.map(function(p1){return ? {BarProp:p1.BarProp} : (?{FooProp:p1.FooProp}:);}) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET6_0.snap deleted file mode 100644 index 7152dc4cdd2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET6_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 20\nQuery: from \u0027NestedObjects\u0027 as _s1 select { Nested : ? {BarProp:_s1.Nested.BarProp} : (?{FooProp:_s1.Nested.FooProp}:) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1088\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1073\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1033\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1017\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedObjects' as _s1 select { Nested : ? {BarProp:_s1.Nested.BarProp} : (?{FooProp:_s1.Nested.FooProp}:) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap deleted file mode 100644 index 7152dc4cdd2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Nested_NET7_0.snap +++ /dev/null @@ -1,31 +0,0 @@ -Result: ---------------- -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Raven.Client.Exceptions.InvalidQueryException: Select clause contains invalid script\nAt Line : 1, Column : 20\nQuery: from \u0027NestedObjects\u0027 as _s1 select { Nested : ? {BarProp:_s1.Nested.BarProp} : (?{FooProp:_s1.Nested.FooProp}:) }\nParameters: {}\n ---\u003E Esprima.ParserException: Line 1: Unexpected token ?\n at Esprima.JavaScriptParser.ThrowUnexpectedToken[T](Token token, String message)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseObjectProperty(Token hasProto)\n at Esprima.JavaScriptParser.ParseObjectInitializer()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParsePrimaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseLeftHandSideExpressionAllowCall()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseUpdateExpression()\n at Esprima.JavaScriptParser.ParseUnaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExponentiationExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseBinaryExpression()\n at Esprima.JavaScriptParser.InheritCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseConditionalExpression()\n at Esprima.JavaScriptParser.ParseAssignmentExpression()\n at Esprima.JavaScriptParser.IsolateCoverGrammar[T](Func\u00601 parseFunction)\n at Esprima.JavaScriptParser.ParseExpression()\n at Esprima.JavaScriptParser.ParseReturnStatement()\n at Esprima.JavaScriptParser.ParseStatement()\n at Esprima.JavaScriptParser.ParseStatementListItem()\n at Esprima.JavaScriptParser.ParseScript(Boolean strict)\n at Raven.Server.Documents.Queries.QueryMetadata.ValidateScript(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 2827\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 734\n --- End of inner exception stack trace ---\n at Raven.Server.Documents.Queries.QueryMetadata.HandleSelectFunctionBody(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 740\n at Raven.Server.Documents.Queries.QueryMetadata.Build(BlittableJsonReaderObject parameters) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 376\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(Query query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 105\n at Raven.Server.Documents.Queries.QueryMetadata..ctor(String query, BlittableJsonReaderObject parameters, UInt64 cacheKey, Boolean addSpatialProperties, QueryType queryType, DocumentDatabase database) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\QueryMetadata.cs:line 53\n at Raven.Server.Documents.Queries.IndexQueryServerSide.Create(HttpContext httpContext, BlittableJsonReaderObject json, QueryMetadataCache cache, RequestTimeTracker tracker, Boolean addSpatialProperties, String clientQueryId, DocumentDatabase database, QueryType queryType) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Queries\\IndexQueryServerSide.cs:line 131\n at Raven.Server.Documents.Handlers.QueriesHandler.GetIndexQuery(JsonOperationContext context, HttpMethod method, RequestTimeTracker tracker) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 211\n at Raven.Server.Documents.Handlers.QueriesHandler.Query(QueryOperationContext queryContext, OperationCancelToken token, RequestTimeTracker tracker, HttpMethod method) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 118\n at Raven.Server.Documents.Handlers.QueriesHandler.HandleQuery(HttpMethod httpMethod) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Documents\\Handlers\\QueriesHandler.cs:line 62\n at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\Routing\\RequestRouter.cs:line 362\n at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\\Builds\\RavenDB-Stable-5.4\\54027\\src\\Raven.Server\\RavenServerStartup.cs:line 176", - "stackTrace": " at Raven.Client.Exceptions.ExceptionDispatcher.Throw(JsonOperationContext context, HttpResponseMessage response, Action\u00601 additionalErrorInfo) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Exceptions\\ExceptionDispatcher.cs:line 123\n at Raven.Client.Http.RequestExecutor.HandleUnsuccessfulResponse[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, HttpRequestMessage request, HttpResponseMessage response, String url, SessionInfo sessionInfo, Boolean shouldRetry, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 1469\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Http.RequestExecutor.ExecuteAsync[TResult](ServerNode chosenNode, Nullable\u00601 nodeIndex, JsonOperationContext context, RavenCommand\u00601 command, Boolean shouldRetry, SessionInfo sessionInfo, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Http\\RequestExecutor.cs:line 919\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteActualQueryAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1088\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.InitAsync(CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1073\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperationInternal(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1033\n at Raven.Client.Documents.Session.AsyncDocumentQuery\u00601.ExecuteQueryOperation(Nullable\u00601 take, CancellationToken token) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Session\\AsyncDocumentQuery.cs:line 1017\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} ---------------- - -SQL: ---------------- -from 'NestedObjects' as _s1 select { Nested : ? {BarProp:_s1.Nested.BarProp} : (?{FooProp:_s1.Nested.FooProp}:) } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap deleted file mode 100644 index 3ce2017ab56..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET6_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -{ - "errors": [ - { - "message": "A union type cannot declare a field directly. Use inline fragments or fragments instead.", - "locations": [ - { - "line": 3, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "AbstractType", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap deleted file mode 100644 index 3ce2017ab56..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Pagination_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -{ - "errors": [ - { - "message": "A union type cannot declare a field directly. Use inline fragments or fragments instead.", - "locations": [ - { - "line": 3, - "column": 34 - } - ], - "path": [ - "root" - ], - "extensions": { - "type": "AbstractType", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing.snap deleted file mode 100644 index 2719ca82a0d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing.snap +++ /dev/null @@ -1,23 +0,0 @@ -{ - "errors": [ - { - "message": "Unexpected Execution Error", - "locations": [ - { - "line": 3, - "column": 29 - } - ], - "path": [ - "root" - ], - "extensions": { - "message": "Could not understand expression: from \u0027AbstractTypes\u0027.Select(_s1 =\u003E IIF((_s1 Is Foo), Convert(new Foo() {FooProp = Convert(_s1, Foo).FooProp}, AbstractType), default(AbstractType)))", - "stackTrace": " at Raven.Client.Documents.Linq.RavenQueryProviderProcessor\u00601.GetAsyncDocumentQueryFor(Expression expression, Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryProviderProcessor.cs:line 3839\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.GetAsyncDocumentQuery(Action\u00601 customization) in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 182\n at Raven.Client.Documents.Linq.RavenQueryInspector\u00601.ToString() in C:\\Builds\\RavenDB-Stable-5.4\\54012\\src\\Raven.Client\\Documents\\Linq\\RavenQueryInspector.cs:line 148\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_2\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__3\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 154\n--- End of stack trace from previous location ---\n at HotChocolate.Data.Raven.ProjectionVisitorTestBase.\u003C\u003Ec__DisplayClass8_1\u00601.\u003C\u003CApplyConfigurationToFieldDescriptor\u003Eb__2\u003Ed.MoveNext() in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/ProjectionVisitorTestBase.cs:line 133\n--- End of stack trace from previous location ---\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 134\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in /Users/pascalsenn/kot/hotchocolate/.wt/ef-core-data/src/HotChocolate/Core/src/Execution/Processing/Tasks/ResolverTask.Execute.cs:line 113" - } - } - ], - "data": { - "root": null - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET6_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap deleted file mode 100644 index 56e8a893ced..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionUnionTypeTests.Create_Union_Without_Missing_NET7_0.snap +++ /dev/null @@ -1,19 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - null, - { - "fooProp": "FooProp" - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT "d"."d" = 'foo', "d"."FooProp" -FROM "Data" AS "d" ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap deleted file mode 100644 index b2212f2766d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap deleted file mode 100644 index b2212f2766d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap deleted file mode 100644 index b4ca2a6ac03..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field `foo` does not exist on the type `Foo`.", - "locations": [ - { - "line": 1, - "column": 23 - } - ], - "path": [ - "rootExecutable" - ], - "extensions": { - "type": "Foo", - "field": "foo", - "responseName": "foo", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap deleted file mode 100644 index b4ca2a6ac03..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -{ - "errors": [ - { - "message": "The field `foo` does not exist on the type `Foo`.", - "locations": [ - { - "line": 1, - "column": 23 - } - ], - "path": [ - "rootExecutable" - ], - "extensions": { - "type": "Foo", - "field": "foo", - "responseName": "foo", - "specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types" - } - } - ] -} diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap deleted file mode 100644 index b06e8e27365..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap deleted file mode 100644 index b06e8e27365..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorExecutableTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap deleted file mode 100644 index a17674d9686..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'MultipleFoos' select IsProjectedTrue1, IsProjectedTrue2, IsProjectedTrue3 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap deleted file mode 100644 index a17674d9686..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_TrueAndMultiple_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'MultipleFoos' select IsProjectedTrue1, IsProjectedTrue2, IsProjectedTrue3 ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap deleted file mode 100644 index 414fd966d80..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_AlwaysBeProjectedWhenSelected_When_True_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap deleted file mode 100644 index 414fd966d80..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET6_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap deleted file mode 100644 index 414fd966d80..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap deleted file mode 100644 index 414fd966d80..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithOneProps_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null - }, - { - "isProjectedFalse": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap deleted file mode 100644 index f43ec6d462e..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap deleted file mode 100644 index f43ec6d462e..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotBeProjectedWhenSelected_When_FalseWithTwoProps_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": null, - "isProjectedTrue": true - }, - { - "isProjectedFalse": null, - "isProjectedTrue": true - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select IsProjectedTrue ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap deleted file mode 100644 index 313bc2b6bef..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": false - }, - { - "isProjectedFalse": false - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap deleted file mode 100644 index 313bc2b6bef..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorIsProjectedTests.IsProjected_Should_NotFailWhenSelectionSetSkippedCompletely_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "isProjectedFalse": false - }, - { - "isProjectedFalse": false - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap deleted file mode 100644 index ee1193cfaa2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "b": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "a": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap deleted file mode 100644 index ee1193cfaa2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_NodesAndEdgesWithAliases_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "b": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "a": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index 5f0845e6dbe..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": null - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index 5f0845e6dbe..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": null - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index 52620d691ec..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": null - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index 52620d691ec..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,29 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": null - }, - { - "node": { - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index 997f8683894..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index 997f8683894..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index c68d5935fd4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index c68d5935fd4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": null - }, - { - "baz": "c" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": null - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index 96cad2da367..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index 96cad2da367..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": null, - "baz": null - } - }, - { - "node": { - "bar": false, - "baz": "c" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index 3e16110aea4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index 3e16110aea4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateNullable_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index 2a336b5e76d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index 2a336b5e76d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,23 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - null, - { - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index aa943190581..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index aa943190581..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPagingNullable_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": null, - "baz": null - }, - { - "bar": false, - "baz": "c" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'FooNullables' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap deleted file mode 100644 index 03ef07954f6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap deleted file mode 100644 index 03ef07954f6..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index 0eba90a2706..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index 0eba90a2706..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap deleted file mode 100644 index 8bf08a318ca..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap deleted file mode 100644 index 8bf08a318ca..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsOneProperty_Items_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap deleted file mode 100644 index 380e407a4ae..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap deleted file mode 100644 index 380e407a4ae..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap deleted file mode 100644 index 0fa54de3133..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap deleted file mode 100644 index 0fa54de3133..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.CreateOffsetPaging_ProjectsTwoProperties_Items_WithArgs_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "items": [ - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap deleted file mode 100644 index 6166577784d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET7_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap deleted file mode 100644 index 6166577784d..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UsePagingEncountered_NET8_0.snap +++ /dev/null @@ -1,42 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - }, - { - "bar": false, - "paging": { - "nodes": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap deleted file mode 100644 index a873d1d0030..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET7_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap deleted file mode 100644 index a873d1d0030..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_Projection_Should_Stop_When_UseProjectionEncountered_NET8_0.snap +++ /dev/null @@ -1,38 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - }, - { - "bar": false, - "list": [ - { - "barBaz": "a_a" - }, - { - "barBaz": "a_b" - } - ] - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap deleted file mode 100644 index 28828df44fa..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap deleted file mode 100644 index 28828df44fa..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_EdgesAndNodesOverlap_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap deleted file mode 100644 index 484786c2000..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap deleted file mode 100644 index 484786c2000..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Edges_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "baz": "a" - } - }, - { - "node": { - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap deleted file mode 100644 index e6c2d4a12c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap deleted file mode 100644 index e6c2d4a12c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsOneProperty_Nodes_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap deleted file mode 100644 index 6481b5d689f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap deleted file mode 100644 index 6481b5d689f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_EdgesAndNodes_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ], - "edges": [ - { - "node": { - "bar": true - } - }, - { - "node": { - "bar": false - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz, Bar ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap deleted file mode 100644 index ab7a386b8c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET7_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap deleted file mode 100644 index ab7a386b8c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Edges_NET8_0.snap +++ /dev/null @@ -1,28 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "edges": [ - { - "node": { - "bar": true, - "baz": "a" - } - }, - { - "node": { - "bar": false, - "baz": "b" - } - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap deleted file mode 100644 index 66ad7b14dc8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET7_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap deleted file mode 100644 index 66ad7b14dc8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorPagingTests.Create_ProjectsTwoProperties_Nodes_NET8_0.snap +++ /dev/null @@ -1,24 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": { - "nodes": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap deleted file mode 100644 index 24eb47e2e09..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "computed": "Foo" - }, - { - "computed": "Foo" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap deleted file mode 100644 index 24eb47e2e09..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_Computed_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "computed": "Foo" - }, - { - "computed": "Foo" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap deleted file mode 100644 index 42e172595cf..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": null - }, - { - "notSettable": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap deleted file mode 100644 index 42e172595cf..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_NotSettable_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "notSettable": null - }, - { - "notSettable": null - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap deleted file mode 100644 index a002ebb0bb7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET7_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap deleted file mode 100644 index a002ebb0bb7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_Expression_NET8_0.snap +++ /dev/null @@ -1,20 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a" - }, - { - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap deleted file mode 100644 index 67417980de8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET7_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap deleted file mode 100644 index 67417980de8..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsOneProperty_WithResolver_NET8_0.snap +++ /dev/null @@ -1,26 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "baz": "a", - "foo": [ - "foo" - ] - }, - { - "baz": "b", - "foo": [ - "foo" - ] - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap deleted file mode 100644 index a5c302c404c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET7_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap deleted file mode 100644 index a5c302c404c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableProjectionVisitorScalarTests.Create_ProjectsTwoProperties_Expression_NET8_0.snap +++ /dev/null @@ -1,22 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true, - "baz": "a" - }, - { - "bar": false, - "baz": "b" - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Foos' select Bar, Baz ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap deleted file mode 100644 index 94a1740333c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap deleted file mode 100644 index 94a1740333c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Executable_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap deleted file mode 100644 index 67ebfe362a0..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET7_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap deleted file mode 100644 index 67ebfe362a0..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_NET8_0.snap +++ /dev/null @@ -1,34 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap deleted file mode 100644 index 07c2b858543..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET7_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap deleted file mode 100644 index 07c2b858543..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_DeepFilterObjectTwoProjections_Nullable_NET8_0.snap +++ /dev/null @@ -1,49 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap deleted file mode 100644 index 61b9227e660..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET7_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap deleted file mode 100644 index 61b9227e660..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_NET8_0.snap +++ /dev/null @@ -1,36 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "a", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "d", - "barShort": 14 - } - } - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'Bars' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap deleted file mode 100644 index 4c3e261f5fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap deleted file mode 100644 index 4c3e261f5fc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Projections.Tests/__snapshots__/QueryableSingleOrDefaultTests.Create_ListObjectDifferentLevelProjection_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 12 - } - } - } - }, - { - "foo": { - "barString": "testbtest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 9 - } - } - } - }, - { - "foo": { - "barString": "testctest", - "objectArray": { - "foo": { - "barString": "", - "barShort": 14 - } - } - } - }, - { - "foo": { - "barString": "testdtest", - "objectArray": null - } - } - ] - } -} ---------------- - -SQL: ---------------- -from 'BarNullables' as _s1 select { Foo : { BarString : _s1.Foo.BarString, ObjectArray : _s1.Foo.ObjectArray.slice(0, 2).map(p2=>({Foo:{BarString:p2.Foo.BarString,BarShort:p2.Foo.BarShort}})) } } ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 60541825a22..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 60541825a22..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorBooleanTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap deleted file mode 100644 index aa22de3ecbc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap deleted file mode 100644 index aa22de3ecbc..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 897767c6ee1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 897767c6ee1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorComparableTests.Create_Short_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": null - }, - { - "barShort": 12 - }, - { - "barShort": 13 - }, - { - "barShort": 14 - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barShort": 14 - }, - { - "barShort": 13 - }, - { - "barShort": 12 - }, - { - "barShort": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap deleted file mode 100644 index d8aa9d801c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap deleted file mode 100644 index d8aa9d801c4..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,53 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index 05fe8f28f27..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index 05fe8f28f27..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorEnumTests.Create_Enum_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": null - }, - { - "barEnum": "BAR" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "QUX" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "barEnum": "QUX" - }, - { - "barEnum": "FOO" - }, - { - "barEnum": "BAZ" - }, - { - "barEnum": "BAR" - }, - { - "barEnum": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET7_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_ASC.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_ASC.snap deleted file mode 100644 index 46fb6a13eed..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_ASC.snap +++ /dev/null @@ -1,12 +0,0 @@ -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_DESC.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_DESC.snap deleted file mode 100644 index 50a4534a271..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_DESC.snap +++ /dev/null @@ -1,12 +0,0 @@ -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} \ No newline at end of file diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET8_0.snap deleted file mode 100644 index eb7a7407593..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_List_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap deleted file mode 100644 index eb7a7407593..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET6_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap deleted file mode 100644 index eb7a7407593..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET8_0.snap deleted file mode 100644 index eb7a7407593..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index e7f6022c7c1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index e7f6022c7c1..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExecutableTests.Create_Boolean_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": null - }, - { - "bar": false - }, - { - "bar": true - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "rootExecutable": [ - { - "bar": true - }, - { - "bar": false - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap deleted file mode 100644 index 18150528a9c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET7_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bars.Count as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bars.Count as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap deleted file mode 100644 index 18150528a9c..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0.snap +++ /dev/null @@ -1,45 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Sam", - "lastName": "Sampleman" - }, - { - "name": "Foo", - "lastName": "Galoo" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bars.Count as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "name": "Foo", - "lastName": "Galoo" - }, - { - "name": "Sam", - "lastName": "Sampleman" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bars.Count as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap deleted file mode 100644 index 4818da789b2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap deleted file mode 100644 index 4818da789b2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 67d974a5225..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 67d974a5225..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "FOO" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarEnum ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap deleted file mode 100644 index 23d4a93c65f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarBool ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap deleted file mode 100644 index 23d4a93c65f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableBool_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": true - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarBool ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": false - } - }, - { - "foo": { - "barBool": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap deleted file mode 100644 index 4a923ae9e40..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarEnum ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap deleted file mode 100644 index 4a923ae9e40..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableEnum_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "QUX" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarEnum ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barEnum": "QUX" - } - }, - { - "foo": { - "barEnum": "FOO" - } - }, - { - "foo": { - "barEnum": "BAZ" - } - }, - { - "foo": { - "barEnum": "BAR" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarEnum desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap deleted file mode 100644 index ff802469474..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarShort as long ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap deleted file mode 100644 index ff802469474..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarShort as long ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": null - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap deleted file mode 100644 index 8e997f1371b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarString ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarString desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap deleted file mode 100644 index 8e997f1371b..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectNullableString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,75 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": null - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testdtest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'BarNullables' order by Foo.BarString ---------------- - -13 Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testdtest" - } - }, - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": null - } - ] - } -} ---------------- - -13 SQL: ---------------- -from 'BarNullables' order by Foo.BarString desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap deleted file mode 100644 index 2d893f2b76f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap deleted file mode 100644 index 2d893f2b76f..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectShort_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 12 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barShort": 14 - } - }, - { - "foo": { - "barShort": 13 - } - }, - { - "foo": { - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap deleted file mode 100644 index bca73422bf2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET7_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarString ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarString desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap deleted file mode 100644 index bca73422bf2..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_NET8_0.snap +++ /dev/null @@ -1,59 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testatest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testctest" - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarString ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barString": "testctest" - } - }, - { - "foo": { - "barString": "testbtest" - } - }, - { - "foo": { - "barString": "testatest" - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarString desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap deleted file mode 100644 index edfa10aef25..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET7_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool, Foo.BarShort as long ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool, Foo.BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc, Foo.BarShort as long desc ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc, Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap deleted file mode 100644 index edfa10aef25..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_NET8_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool, Foo.BarShort as long ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarBool, Foo.BarShort as long ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc, Foo.BarShort as long desc ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarBool desc, Foo.BarShort as long desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap deleted file mode 100644 index 18859c61621..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET7_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long, Foo.BarBool ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long, Foo.BarBool ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc, Foo.BarBool desc ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc, Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap deleted file mode 100644 index 18859c61621..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorObjectTests.Create_ObjectString_OrderBy_TwoProperties_Variables_NET8_0.snap +++ /dev/null @@ -1,131 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long, Foo.BarBool ---------------- - -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 12 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 14 - } - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long, Foo.BarBool ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc, Foo.BarBool desc ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "foo": { - "barBool": true, - "barShort": 14 - } - }, - { - "foo": { - "barBool": false, - "barShort": 13 - } - }, - { - "foo": { - "barBool": true, - "barShort": 12 - } - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Bars' order by Foo.BarShort as long desc, Foo.BarBool desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap deleted file mode 100644 index 3fbcea492f7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap deleted file mode 100644 index 3fbcea492f7..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'Foos' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'Foos' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap similarity index 100% rename from src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET6_0.snap rename to src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable.snap diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap deleted file mode 100644 index f820c0a0efb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET7_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap b/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap deleted file mode 100644 index f820c0a0efb..00000000000 --- a/src/HotChocolate/Raven/test/Data.Raven.Sorting.Tests/__snapshots__/QueryableSortVisitorStringTests.Create_String_OrderBy_Nullable_NET8_0.snap +++ /dev/null @@ -1,47 +0,0 @@ -ASC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": null - }, - { - "bar": "testatest" - }, - { - "bar": "testbtest" - } - ] - } -} ---------------- - -ASC SQL: ---------------- -from 'FooNullables' order by Bar ---------------- - -DESC Result: ---------------- -{ - "data": { - "root": [ - { - "bar": "testbtest" - }, - { - "bar": "testatest" - }, - { - "bar": null - } - ] - } -} ---------------- - -DESC SQL: ---------------- -from 'FooNullables' order by Bar desc ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET5_0.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET6_0.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_1_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET5_0.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET6_0.snap deleted file mode 100644 index 5515c62463a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_2_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET7_0.snap deleted file mode 100644 index ba60d608631..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) ---------------- - -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET8_0.snap deleted file mode 100644 index ba60d608631..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_Contains_Expression_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) ---------------- - -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Contains(d."Bar", @__p_0) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET5_0.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET6_0.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_1_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET5_0.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET6_0.snap deleted file mode 100644 index f1d2b568334..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_2_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET7_0.snap deleted file mode 100644 index e9f641d13ca..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) ---------------- - -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET8_0.snap deleted file mode 100644 index e9f641d13ca..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorContainsTests.Create_NotContains_Expression_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) ---------------- - -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Contains(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET5_0.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET6_0.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_1_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET5_0.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET6_0.snap deleted file mode 100644 index a20ebc6eee3..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_2_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET7_0.snap deleted file mode 100644 index 2d24bc480c4..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET7_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) --- @__p_1='1' -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 ---------------- - -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) --- @__p_1='1' -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET8_0.snap deleted file mode 100644 index 2d24bc480c4..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorDistanceTests.Create_Distance_Expression_NET8_0.snap +++ /dev/null @@ -1,43 +0,0 @@ -2 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -2 SQL: ---------------- --- @__p_0='POINT (1 1)' (DbType = Object) --- @__p_1='1' -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 ---------------- - -1 Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -1 SQL: ---------------- --- @__p_0='POINT (-1 -1)' (DbType = Object) --- @__p_1='1' -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Distance(d."Bar", @__p_0) > @__p_1 ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET7_0.snap deleted file mode 100644 index 5efb1d37d5c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((10 10, 10 90, 90 90, 90 10, 10 10))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Intersects(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((10 10, 10 90, 90 90, 90 10, 10 10))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Intersects(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET8_0.snap deleted file mode 100644 index 5efb1d37d5c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((10 10, 10 90, 90 90, 90 10, 10 10))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Intersects(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((10 10, 10 90, 90 90, 90 10, 10 10))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Intersects(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql.snap deleted file mode 100644 index d33cbab45f9..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Intersects(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET5_0.snap deleted file mode 100644 index d33cbab45f9..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Intersects(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET6_0.snap deleted file mode 100644 index d33cbab45f9..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_false_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Intersects(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql.snap deleted file mode 100644 index 3e942f5f66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Intersects(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET5_0.snap deleted file mode 100644 index 3e942f5f66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Intersects(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET6_0.snap deleted file mode 100644 index 3e942f5f66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorIntersectsTests.Create_Intersects_Query_true_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Intersects(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET7_0.snap deleted file mode 100644 index 0b1d152475b..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Overlaps(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Overlaps(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET8_0.snap deleted file mode 100644 index 0b1d152475b..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Overlaps(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Overlaps(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql.snap deleted file mode 100644 index 88adfa1fce7..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Overlaps(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET5_0.snap deleted file mode 100644 index 88adfa1fce7..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Overlaps(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET6_0.snap deleted file mode 100644 index 88adfa1fce7..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_false_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Overlaps(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql.snap deleted file mode 100644 index 98f88fcae92..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Overlaps(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET5_0.snap deleted file mode 100644 index 98f88fcae92..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Overlaps(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET6_0.snap deleted file mode 100644 index 98f88fcae92..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorOverlapsTests.Create_Overlaps_Query_true_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Overlaps(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET7_0.snap deleted file mode 100644 index d6a7bada83c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((240 80, 140 120, 180 240, 280 200, 240 80))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Touches(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((240 80, 140 120, 180 240, 280 200, 240 80))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Touches(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET8_0.snap deleted file mode 100644 index d6a7bada83c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((240 80, 140 120, 180 240, 280 200, 240 80))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Touches(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((240 80, 140 120, 180 240, 280 200, 240 80))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Touches(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql.snap deleted file mode 100644 index 5769112ef3b..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Touches(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET5_0.snap deleted file mode 100644 index 5769112ef3b..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Touches(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET6_0.snap deleted file mode 100644 index 5769112ef3b..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_false_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Touches(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql.snap deleted file mode 100644 index e6c7a015429..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Touches(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET5_0.snap deleted file mode 100644 index e6c7a015429..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Touches(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET6_0.snap deleted file mode 100644 index e6c7a015429..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorTouchesTests.Create_Touches_Query_true_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Touches(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query.snap similarity index 100% rename from src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET6_0.snap rename to src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query.snap diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET7_0.snap deleted file mode 100644 index 1ac4d9c73c6..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET7_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((20 20, 140 20, 120 100, 20 100, 20 20))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Within(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((20 20, 140 20, 120 100, 20 100, 20 20))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Within(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET8_0.snap deleted file mode 100644 index 1ac4d9c73c6..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_NET8_0.snap +++ /dev/null @@ -1,41 +0,0 @@ -true Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} ---------------- - -true SQL: ---------------- --- @__p_0='POLYGON ((20 20, 140 20, 120 100, 20 100, 20 20))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Within(d."Bar", @__p_0) ---------------- - -false Result: ---------------- -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} ---------------- - -false SQL: ---------------- --- @__p_0='POLYGON ((20 20, 140 20, 120 100, 20 100, 20 20))' (DbType = Object) -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Within(d."Bar", @__p_0)) ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET5_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET6_0.snap deleted file mode 100644 index 0cf03ea2963..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 2 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql.snap deleted file mode 100644 index 865f0b3b3a8..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Within(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET5_0.snap deleted file mode 100644 index 865f0b3b3a8..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Within(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET6_0.snap deleted file mode 100644 index 865f0b3b3a8..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_false_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE NOT (ST_Within(d."Bar", @__p_0)) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET5_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET5_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET6_0.snap deleted file mode 100644 index d1a3cfff66a..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_NET6_0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1 - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql.snap deleted file mode 100644 index f89286c29ad..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Within(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET5_0.snap deleted file mode 100644 index f89286c29ad..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET5_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Within(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET6_0.snap deleted file mode 100644 index f89286c29ad..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorWithinTests.Create_Within_Query_true_sql_NET6_0.snap +++ /dev/null @@ -1,3 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d -WHERE ST_Within(d."Bar", @__p_0) diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression.snap index b15cad9863c..9826a52de61 100644 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression.snap +++ b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression.snap @@ -1,4 +1,6 @@ -{ +Result: +--------------- +{ "data": { "root": [ { @@ -62,3 +64,10 @@ ] } } +--------------- + +SQL: +--------------- +SELECT d."Id", d."Bar" +FROM "Data" AS d +--------------- diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET6_0.snap deleted file mode 100644 index 9826a52de61..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET6_0.snap +++ /dev/null @@ -1,73 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - 2 - ], - [ - 2, - 2 - ], - [ - 2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - }, - { - "id": 2, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - -2 - ], - [ - -2, - -2 - ], - [ - -2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT d."Id", d."Bar" -FROM "Data" AS d ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET7_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET7_0.snap deleted file mode 100644 index 9826a52de61..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET7_0.snap +++ /dev/null @@ -1,73 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - 2 - ], - [ - 2, - 2 - ], - [ - 2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - }, - { - "id": 2, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - -2 - ], - [ - -2, - -2 - ], - [ - -2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT d."Id", d."Bar" -FROM "Data" AS d ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET8_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET8_0.snap deleted file mode 100644 index 9826a52de61..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression_NET8_0.snap +++ /dev/null @@ -1,73 +0,0 @@ -Result: ---------------- -{ - "data": { - "root": [ - { - "id": 1, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - 2 - ], - [ - 2, - 2 - ], - [ - 2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - }, - { - "id": 2, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - -2 - ], - [ - -2, - -2 - ], - [ - -2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - } - ] - } -} ---------------- - -SQL: ---------------- -SELECT d."Id", d."Bar" -FROM "Data" AS d ---------------- diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET5_0.snap deleted file mode 100644 index b15cad9863c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET5_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - 2 - ], - [ - 2, - 2 - ], - [ - 2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - }, - { - "id": 2, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - -2 - ], - [ - -2, - -2 - ], - [ - -2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET6_0.snap deleted file mode 100644 index b15cad9863c..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__NET6_0.snap +++ /dev/null @@ -1,64 +0,0 @@ -{ - "data": { - "root": [ - { - "id": 1, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - 2 - ], - [ - 2, - 2 - ], - [ - 2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - }, - { - "id": 2, - "bar": { - "coordinates": [ - [ - [ - 0, - 0 - ], - [ - 0, - -2 - ], - [ - -2, - -2 - ], - [ - -2, - 0 - ], - [ - 0, - 0 - ] - ] - ] - } - } - ] - } -} diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql.snap deleted file mode 100644 index ecd168e496f..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql.snap +++ /dev/null @@ -1,2 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET5_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET5_0.snap deleted file mode 100644 index ecd168e496f..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET5_0.snap +++ /dev/null @@ -1,2 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d diff --git a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET6_0.snap b/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET6_0.snap deleted file mode 100644 index ecd168e496f..00000000000 --- a/src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/__snapshots__/QueryableProjectionVisitorTests.Create_Expression__sql_NET6_0.snap +++ /dev/null @@ -1,2 +0,0 @@ -SELECT d."Id", d."Bar" -FROM "Data" AS d