Skip to content

Removed an unnecessary .ToList() call. Thanks, mtreit! #115

Removed an unnecessary .ToList() call. Thanks, mtreit!

Removed an unnecessary .ToList() call. Thanks, mtreit! #115

Triggered via push January 3, 2024 20:41
Status Success
Total duration 1m 16s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: Ogma3/Pages/Stories/Index.cshtml.cs#L41
Cannot convert null literal to non-nullable reference type.
build: Ogma3/Startup.cs#L148
The type 'System.Security.Claims.ClaimsPrincipal?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddScoped<TService>(IServiceCollection, Func<IServiceProvider, TService>)'. Nullability of type argument 'System.Security.Claims.ClaimsPrincipal?' doesn't match 'class' constraint.
build: Ogma3/Startup.cs#L148
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, ClaimsPrincipal?>' (possibly because of nullability attributes).
build: Ogma3/Services/Mailer/SendGridOptions.cs#L5
Non-nullable property 'SendGridUser' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Mailer/SendGridOptions.cs#L6
Non-nullable property 'SendGridKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Mailer/PostmarkOptions.cs#L5
Non-nullable property 'PostmarkKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Mailer/PostmarkOptions.cs#L6
Non-nullable property 'PostmarkDomain' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Mailer/MailGunOptions.cs#L5
Non-nullable property 'MailGunKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Mailer/MailGunOptions.cs#L6
Non-nullable property 'MailGunDomain' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Ogma3/Services/Initializers/DbSeedInitializer.cs#L28
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.