Remove obsolete APIs (#6657) #70
Annotations
20 errors and 21 warnings
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/RavenRequestExecutorBuilderExtensions.cs(10,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/HotChocolate.Data.Raven.csproj::TargetFramework=net7.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/Extensions/ResolverCompilerBuilderExtensions.cs(9,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/HotChocolate.Data.EntityFramework.csproj::TargetFramework=net7.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/RavenRequestExecutorBuilderExtensions.cs(10,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/HotChocolate.Data.Raven.csproj::TargetFramework=net6.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/Extensions/ResolverCompilerBuilderExtensions.cs(9,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/HotChocolate.Data.EntityFramework.csproj::TargetFramework=net6.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/Extensions/ResolverCompilerBuilderExtensions.cs(9,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/HotChocolate.Data.EntityFramework.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/RavenRequestExecutorBuilderExtensions.cs(10,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/HotChocolate.Data.Raven.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/RavenRequestExecutorBuilderExtensions.cs(10,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/HotChocolate.Data.Raven.csproj::TargetFramework=net7.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/Extensions/ResolverCompilerBuilderExtensions.cs(9,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/HotChocolate.Data.EntityFramework.csproj::TargetFramework=net7.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/RavenRequestExecutorBuilderExtensions.cs(10,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Raven/src/Data/HotChocolate.Data.Raven.csproj::TargetFramework=net6.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/Extensions/ResolverCompilerBuilderExtensions.cs(9,53): error CS1574: XML comment has cref attribute 'IResolverCompilerBuilder' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Data/src/EntityFramework/HotChocolate.Data.EntityFramework.csproj::TargetFramework=net6.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : You must install or update .NET to run this application. [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : App: /home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/tools/netcoreapp2.1/GetDocument.Insider.dll [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : Architecture: x64 [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : Framework: 'Microsoft.NETCore.App', version '8.0.0-rc.2.23479.6' (x64) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : .NET location: /usr/share/dotnet/ [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : The following frameworks were found: [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : 6.0.24 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/6.0.5/build/Microsoft.Extensions.ApiDescription.Server.targets(66,5): error : 7.0.5 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/OpenApi/tests/HotChocolate.OpenApi.Tests/HotChocolate.OpenApi.Tests.csproj::TargetFramework=net8.0]
|
release:
.build/Build.Publish.cs#L19
The field 'Build.MyGetSource' is assigned but its value is never used
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/ServiceException.cs(20,9): warning SYSLIB0051: 'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/HotChocolate.Utilities.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Language/src/Language.Utf8/ParserOptions.cs(38,13): warning CS1573: Parameter 'maxAllowedFields' has no matching param tag in the XML comment for 'ParserOptions.ParserOptions(bool, bool, int, int, int)' (but other parameters do) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Language/src/Language.Utf8/HotChocolate.Language.Utf8.csproj::TargetFramework=net7.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/Serialization/SerializerResolver.cs(22,48): warning CS1570: XML comment has badly formed XML -- 'End tag 'param' does not match the start tag 'paramref'.' [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/GraphQLClientException.cs(106,9): warning SYSLIB0051: 'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051) [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/EntityIdOrData.cs(56,29): warning CS1574: XML comment has cref attribute 'entityId' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/GraphQLClientException.cs(27,83): warning CS1574: XML comment has cref attribute 'error' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/GraphQLClientException.cs(47,88): warning CS1574: XML comment has cref attribute 'errors' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/GraphQLClientException.cs(88,88): warning CS1574: XML comment has cref attribute 'errors' that could not be resolved [/home/runner/work/graphql-platform/graphql-platform/src/StrawberryShake/Client/src/Core/StrawberryShake.Core.csproj::TargetFramework=net8.0]
|
release
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Language/src/Language.Utf8/ParserOptions.cs(38,13): warning CS1573: Parameter 'maxAllowedFields' has no matching param tag in the XML comment for 'ParserOptions.ParserOptions(bool, bool, int, int, int)' (but other parameters do) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Language/src/Language.Utf8/HotChocolate.Language.Utf8.csproj::TargetFramework=netstandard2.0]
|
Sonar
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/DataLoaderBase.cs(161,21): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/TaskCache.cs(60,13): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/TaskCache.cs(60,13): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net7.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/DataLoaderBase.cs(161,21): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net7.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/TaskCache.cs(60,13): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net6.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/DataLoaderBase.cs(161,21): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/GreenDonut/src/Core/GreenDonut.csproj::TargetFramework=net6.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/MiddlewareCompiler.cs(41,40): warning S2743: A static field in a generic type is not shared among instances of different close constructed types. (https://rules.sonarsource.com/csharp/RSPEC-2743) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/HotChocolate.Utilities.csproj::TargetFramework=net7.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/Cache.cs(67,13): warning S2589: Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/HotChocolate.Utilities.csproj::TargetFramework=net7.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/ServiceException.cs(20,9): warning SYSLIB0051: 'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/HotChocolate.Utilities.csproj::TargetFramework=net8.0]
|
Sonar
/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/MiddlewareCompiler.cs(41,40): warning S2743: A static field in a generic type is not shared among instances of different close constructed types. (https://rules.sonarsource.com/csharp/RSPEC-2743) [/home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Utilities/src/Utilities/HotChocolate.Utilities.csproj::TargetFramework=net8.0]
|