diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 5e67c7e..5cbae94 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -21,7 +21,7 @@ jobs: - name: Package | Setup uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 9.0.x include-prerelease: true - name: Package | Publish diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c6e96e6..178fa8e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,7 +20,7 @@ jobs: - name: Tests | Setup uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 9.0.x include-prerelease: true env: NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/AppAny.HotChocolate.FluentValidation.csproj b/src/AppAny.HotChocolate.FluentValidation.csproj index 98cfae9..1c80f67 100644 --- a/src/AppAny.HotChocolate.FluentValidation.csproj +++ b/src/AppAny.HotChocolate.FluentValidation.csproj @@ -1,13 +1,13 @@ - netstandard2.0 enable preview true true snupkg true + net8.0;net9.0 @@ -33,8 +33,8 @@ - - + + diff --git a/src/ValidationInterceptor.cs b/src/ValidationInterceptor.cs index 3915330..064de61 100644 --- a/src/ValidationInterceptor.cs +++ b/src/ValidationInterceptor.cs @@ -41,6 +41,7 @@ public override void OnBeforeCompleteType( } } + [Obsolete] public override void OnAfterCreateSchema(IDescriptorContext descriptorContext, ISchema schema) { foreach (var objectField in schema.Types.OfType().SelectMany(type => type.Fields)) diff --git a/tests/AppAny.HotChocolate.FluentValidation.Benchmarks/AppAny.HotChocolate.FluentValidation.Benchmarks.csproj b/tests/AppAny.HotChocolate.FluentValidation.Benchmarks/AppAny.HotChocolate.FluentValidation.Benchmarks.csproj index 3c889af..f3b071d 100644 --- a/tests/AppAny.HotChocolate.FluentValidation.Benchmarks/AppAny.HotChocolate.FluentValidation.Benchmarks.csproj +++ b/tests/AppAny.HotChocolate.FluentValidation.Benchmarks/AppAny.HotChocolate.FluentValidation.Benchmarks.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 pdbonly true Exe @@ -11,7 +11,7 @@ - + diff --git a/tests/AppAny.HotChocolate.FluentValidation.Tests/AppAny.HotChocolate.FluentValidation.Tests.csproj b/tests/AppAny.HotChocolate.FluentValidation.Tests/AppAny.HotChocolate.FluentValidation.Tests.csproj index 2d2dd18..cf4dab6 100644 --- a/tests/AppAny.HotChocolate.FluentValidation.Tests/AppAny.HotChocolate.FluentValidation.Tests.csproj +++ b/tests/AppAny.HotChocolate.FluentValidation.Tests/AppAny.HotChocolate.FluentValidation.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 enable false preview