控制器Action以接口作为入参,默认FromServices能够从DI得到正确类型的对象,但是内部属性为空,没有读取参数;如果使用Fro… #68
Annotations
11 warnings
build-publish
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/.
|
build-publish:
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.
|
build-publish:
NewLife.Remoting/ApiClient.cs#L52
Non-nullable property 'Local' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build-publish:
NewLife.Remoting/WsClient.cs#L243
Cannot convert null literal to non-nullable reference type.
|
build-publish:
NewLife.Remoting/WsClient.cs#L244
Dereference of a possibly null reference.
|
build-publish:
NewLife.Remoting/WsClient.cs#L248
Cannot convert null literal to non-nullable reference type.
|
build-publish:
NewLife.Remoting/WsClient.cs#L339
Cannot convert null literal to non-nullable reference type.
|
build-publish:
NewLife.Remoting/WsClient.cs#L340
Dereference of a possibly null reference.
|
build-publish:
NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
|
build-publish:
NewLife.Remoting/Http/WebSocketServerCodec.cs#L72
Converting null literal or possible null value to non-nullable type.
|
build-publish:
NewLife.Remoting/Http/WebSocketServerCodec.cs#L79
Possible null reference argument for parameter 'message' in 'object? Handler.Read(IHandlerContext context, object message)'.
|