Merge pull request #69 from WeihanLi/add-source-generator #106
Annotations
9 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L78
Converting null literal or possible null value to non-nullable type.
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L32
Argument of type 'ImmutableArray<string?>' cannot be used for parameter 'templates' of type 'ImmutableArray<string>' in 'string EFRepositorySourceGenerator.GenerateRepositoryCode(string dbContextName, string repositoryNamespace, ImmutableArray<string> templates)' due to differences in the nullability of reference types.
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L9
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/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L10
'WeihanLi.EntityFramework.SourceGenerator.EFRepositorySourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L78
Converting null literal or possible null value to non-nullable type.
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L32
Argument of type 'ImmutableArray<string?>' cannot be used for parameter 'templates' of type 'ImmutableArray<string>' in 'string EFRepositorySourceGenerator.GenerateRepositoryCode(string dbContextName, string repositoryNamespace, ImmutableArray<string> templates)' due to differences in the nullability of reference types.
|
build:
src/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L9
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/WeihanLi.EntityFramework.SourceGenerator/EFRepositorySourceGenerator.cs#L10
'WeihanLi.EntityFramework.SourceGenerator.EFRepositorySourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
Loading