Skip to content

Make DI handler/decorator factories lifetime-aware (#329) #290

Make DI handler/decorator factories lifetime-aware (#329)

Make DI handler/decorator factories lifetime-aware (#329) #290

Triggered via pull request June 9, 2026 14:22
Status Success
Total duration 57s
Artifacts 1

dotnet-core.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Paramore.Darker/PipelineBuilder.cs#L223
Using member 'System.Type.MakeGenericType(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Paramore.Darker/PipelineBuilder.cs#L223
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
build: src/Paramore.Darker/QueryHandlerRegistryAsync.cs#L55
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Reflection.TypeInfo.ImplementedInterfaces.get'. The return value of method '<anonymous type: System.Type t, System.Reflection.TypeInfo ti>.t.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build: src/Paramore.Darker/QueryHandlerRegistryAsync.cs#L52
Using member 'System.Reflection.Assembly.ExportedTypes.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build: src/Paramore.Darker/QueryHandlerRegistry.cs#L57
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Reflection.TypeInfo.ImplementedInterfaces.get'. The return value of method '<anonymous type: System.Type t, System.Reflection.TypeInfo ti>.t.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build: src/Paramore.Darker/QueryHandlerRegistry.cs#L54
Using member 'System.Reflection.Assembly.ExportedTypes.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build: src/Paramore.Darker/PipelineBuilder.cs#L161
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The parameter 'handlerType' of method 'Paramore.Darker.PipelineBuilder<TResult>.GetExecuteAsyncMethodInfo(Type, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build: src/Paramore.Darker/PipelineBuilder.cs#L156
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The parameter 'handlerType' of method 'Paramore.Darker.PipelineBuilder<TResult>.GetExecuteMethodInfo(Type, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build: src/Paramore.Darker/QueryHandlerRegistry.cs#L44
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'queryType' of method 'Paramore.Darker.QueryHandlerRegistry.HasMatchingResultType(Type, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build: src/Paramore.Darker/QueryHandlerRegistryAsync.cs#L43
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'queryType' of method 'Paramore.Darker.QueryHandlerRegistryAsync.HasMatchingResultType(Type, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Artifacts

Produced during runtime
Name Size Digest
nuget packages
187 KB
sha256:c87650c8ce59b9087e0bb97eb87df522dd22a5c3fc38e9e1fb3699d890e975bd