Skip to content

Refactor(API): Code refractor and cleanup #31

Refactor(API): Code refractor and cleanup

Refactor(API): Code refractor and cleanup #31

Triggered via push March 30, 2024 15:11
Status Success
Total duration 2m 17s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: src/Shared/StellarChat.Shared.Infrastructure/Contexts/Context.cs#L25
Cannot convert null literal to non-nullable reference type.
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/Context.cs#L25
Cannot convert null literal to non-nullable reference type.
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/Context.cs#L26
Cannot convert null literal to non-nullable reference type.
build: src/Shared/StellarChat.Shared.Infrastructure/Observability/Logging/Extensions.cs#L39
Cannot convert null literal to non-nullable reference type.
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/IdentityContext.cs#L10
Nullability of reference types in return type of 'string? IdentityContext.Role.get' doesn't match implicitly implemented member 'string IIdentityContext.Role.get' (possibly because of nullability attributes).
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/IdentityContext.cs#L11
Nullability of reference types in return type of 'Dictionary<string, IEnumerable<string>>? IdentityContext.Claims.get' doesn't match implicitly implemented member 'Dictionary<string, IEnumerable<string>> IIdentityContext.Claims.get' (possibly because of nullability attributes).
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/Context.cs#L15
Cannot convert null literal to non-nullable reference type.
build: src/Shared/StellarChat.Shared.Infrastructure/Contexts/Context.cs#L21
Possible null reference argument for parameter 'userAgent' in 'Context.Context(Guid? correlationId, string traceId, IIdentityContext identity = null, string ipAddress = null, string userAgent = null)'.
build: src/Shared/StellarChat.Shared.Infrastructure/DAL/Mongo/Seeders/MongoDbSeeder.cs#L20
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.