Skip to content

feat: Add get-authorization-context policy support in compiler #84

feat: Add get-authorization-context policy support in compiler

feat: Add get-authorization-context policy support in compiler #84

Triggered via pull request February 27, 2025 16:04
Status Success
Total duration 44s
Artifacts 1

example-project.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Analyzers/ExpressionDefinition.Analyzer.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Analyzers/ExpressionTypeUsed.Analyzer.cs#L14
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Analyzers/TestGenerator.cs#L8
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Authoring/Attributes/DocumentAttribute.cs#L7
Parameter 'scope' is unread.
build
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build
- Add a dependency group for net8.0 to the nuspec
build: src/Core/Compiling/Syntax/LocalDeclarationStatementCompiler.cs#L35
Possible null reference argument for parameter 'key' in 'bool IReadOnlyDictionary<string, IReturnValueMethodPolicyHandler>.TryGetValue(string key, out IReturnValueMethodPolicyHandler value)'.
build: src/Core/Compiling/Syntax/LocalDeclarationStatementCompiler.cs#L37
Possible null reference argument for parameter 'node' in 'void IReturnValueMethodPolicyHandler.Handle(ICompilationContext context, InvocationExpressionSyntax node, string variableName)'.
build: src/Testing/Expressions/MockProduct.cs#L10
Non-nullable property 'Apis' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/MockProduct.cs#L12
Non-nullable property 'Groups' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
dotnet-test-results
1.43 KB