feat(SlimData): alternative to redis for plug and play use #248
Annotations
30 warnings
Build and analyze:
src/SlimData/SlimPersistentState.cs#L83
Possible null reference argument for parameter 'path' in 'SlimPersistentState.SlimPersistentState(string path)'.
|
Build and analyze:
src/SlimData/Starter.cs#L39
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
|
Build and analyze:
src/SlimData/SlimDataInterpreter.cs#L15
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build and analyze:
src/SlimData/SlimDataInterpreter.cs#L16
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build and analyze:
src/SlimData/SlimDataInterpreter.cs#L14
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build and analyze:
src/SlimData/SlimDataInterpreter.cs#L13
Remove the unused private field 'prefix'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Build and analyze:
src/SlimData/Startup.cs#L289
Use an immutable collection or reduce the accessibility of the non-private readonly field 'ClusterMembers'. (https://rules.sonarsource.com/csharp/RSPEC-3887)
|
Build and analyze:
src/SlimData/Startup.cs#L289
Use an immutable collection or reduce the accessibility of the public static field 'ClusterMembers'. (https://rules.sonarsource.com/csharp/RSPEC-2386)
|
Build and analyze:
src/SlimData/Starter.cs#L7
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Build and analyze:
src/SlimData/SlimPersistentState.cs#L15
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build and analyze:
src/SlimData/Starter.cs#L39
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
|
Build and analyze:
src/SlimData/SlimPersistentState.cs#L83
Possible null reference argument for parameter 'path' in 'SlimPersistentState.SlimPersistentState(string path)'.
|
Build and analyze:
src/SlimFaas/Program.cs#L163
Suggest using WebApplicationBuilder.Configuration instead of ConfigureAppConfiguration (https://aka.ms/aspnet/analyzers)
|
Build and analyze:
src/SlimFaas/Program.cs#L45
Calling 'BuildServiceProvider' from application code results in an additional copy of singleton services being created. Consider alternatives such as dependency injecting services as parameters to 'Configure'. (https://aka.ms/AA5k895)
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L47
Nullability of reference types in type of parameter 'exception' of 'void Logger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L122
Cannot convert null literal to non-nullable reference type.
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L122
Cannot convert null literal to non-nullable reference type.
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L112
Nullability of reference types in type of parameter 'leader' of 'void LeaderChangedEvent.OnLeaderChanged(ICluster sender, IClusterMember leader)' doesn't match the target delegate 'Action<ICluster, IClusterMember?>' (possibly because of nullability attributes).
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L115
Nullability of reference types in type of parameter 'leader' of 'void LeaderChangedEvent.OnLeaderChanged(ICluster sender, IClusterMember leader)' doesn't match the target delegate 'Action<ICluster, IClusterMember?>' (possibly because of nullability attributes).
|
Build and analyze:
tests/SlimData.Tests/RaftClusterTests.cs#L142
Argument of type 'IDictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
|
build_fibonacci / build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/metadata-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_slimfaas / build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/metadata-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|