Skip to content

v5.5 支持可空类型,修正一些bug #125

v5.5 支持可空类型,修正一些bug

v5.5 支持可空类型,修正一些bug #125

Triggered via push May 8, 2024 12:49
Status Success
Total duration 3m 13s
Artifacts

test.yml

on: push
build-publish
3m 3s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-publish
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-publish: 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-publish: NewLife.Redis/Redis.cs#L771
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/Redis.cs#L771
Nullability of reference types in return type doesn't match overridden member.
build-publish: 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-publish: 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-publish: 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-publish: 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-publish: NewLife.Redis/Services/RedisStat.cs#L46
Possible null reference assignment.
build-publish: NewLife.Redis/Services/RedisStat.cs#L47
Dereference of a possibly null reference.
build-publish: NewLife.Redis/Services/RedisStat.cs#L38
Non-nullable property 'OnSave' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.