Skip to content

唯一客户端基类ClientBase,废除Http基类和Rpc基类,否则最终业务基类无法同时支持二者(因只能继承其中一个); #70

唯一客户端基类ClientBase,废除Http基类和Rpc基类,否则最终业务基类无法同时支持二者(因只能继承其中一个);

唯一客户端基类ClientBase,废除Http基类和Rpc基类,否则最终业务基类无法同时支持二者(因只能继承其中一个); #70

Triggered via push June 12, 2024 06:05
Status Success
Total duration 57s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/ApiClient.cs#L52
Non-nullable property 'Local' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L72
Converting null literal or possible null value to non-nullable type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L79
Possible null reference argument for parameter 'message' in 'object? Handler.Read(IHandlerContext context, object message)'.
test: NewLife.Remoting/Clients/ClientBase.cs#L171
Possible null reference return.
test: NewLife.Remoting/Clients/ClientBase.cs#L174
Dereference of a possibly null reference.
test: NewLife.Remoting/Clients/ClientBase.cs#L174
Possible null reference return.
test: NewLife.Remoting/Clients/WsChannel.cs#L63
Dereference of a possibly null reference.
test: NewLife.Remoting/Http/WebSocketClientCodec.cs#L47
Converting null literal or possible null value to non-nullable type.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/WsClient.cs#L243
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L244
Dereference of a possibly null reference.
test: NewLife.Remoting/WsClient.cs#L248
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L339
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L340
Dereference of a possibly null reference.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L72
Converting null literal or possible null value to non-nullable type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L79
Possible null reference argument for parameter 'message' in 'object? Handler.Read(IHandlerContext context, object message)'.
test: NewLife.Remoting/Http/WebSocketClientCodec.cs#L47
Converting null literal or possible null value to non-nullable type.