[fix]解码Redis响应数据时,支持可空类型 #123
Annotations
1 error and 11 warnings
Test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build:
NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
|
Build:
NewLife.Redis/RedisStack.cs#L104
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
|
Build:
NewLife.Redis/RedisStack.cs#L93
Nullability of reference types in return type of 'Task<T> RedisStack<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
|
Build:
NewLife.Redis/Redis.cs#L771
Nullability of reference types in return type doesn't match overridden member.
|
Build:
NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
|
Build:
NewLife.Redis/RedisStack.cs#L104
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
|
Build:
NewLife.Redis/RedisStack.cs#L93
Nullability of reference types in return type of 'Task<T> RedisStack<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
|
Build:
NewLife.Redis/Redis.cs#L771
Nullability of reference types in return type doesn't match overridden member.
|
Build:
NewLife.Redis/Services/RedisStatGroup.cs#L14
Non-nullable property 'Redis' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
NewLife.Redis/Services/RedisStat.cs#L46
Possible null reference assignment.
|
Loading