Skip to content

去掉UserModel

去掉UserModel #352

Triggered via pull request November 5, 2024 07:11
Status Failure
Total duration 2m 10s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 21 warnings
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/ViewModels/DataField.cs#L294
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/Common/EntityModelBinder.cs#L15
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.Cube/Extensions/PagerHelper.cs#L72
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.CubeNC/ViewModels/ListField.cs#L308
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.CubeNC/Common/PagerModelBinder.cs#L65
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/JsonModelBinder.cs#L53
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/HtmlExtensions.cs#L212
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.CubeNC/Common/ControllerBaseX.cs#L185
'JsonWriter.Indented' is obsolete: '=>Options'
test: NewLife.CubeNC/Common/ControllerBaseX.cs#L186
'JsonWriter.IgnoreNullValues' is obsolete: '=>Options'
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/ViewModels/DataField.cs#L294
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.Cube/Areas/Admin/Models/UserModel.cs#L207
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.Cube/Areas/Admin/Controllers/RoleController.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: NewLife.CubeNC/ViewModels/ListField.cs#L308
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.Cube/Extensions/PagerHelper.cs#L72
'Pool.Put(StringBuilder, bool)' is obsolete: 'Please use Return from 2024-02-01'
test: NewLife.CubeNC/Services/AccessService.cs#L30
Parameter 'session' has no matching param tag in the XML comment for 'AccessService.Valid(string, UserAgentParser, string, IUser, IDictionary<string, object>)' (but other parameters do)
test: NewLife.CubeNC/Modules/DefaultAdapter.cs#L11
Missing XML comment for publicly visible type or member 'DefaultAdapter.Encode(Dictionary<string, object>, Dictionary<ViewKinds, FieldCollection>)'
test: NewLife.CubeNC/Modules/IAdapter.cs#L8
Missing XML comment for publicly visible type or member 'IAdapter.Encode(Dictionary<string, object>, Dictionary<ViewKinds, FieldCollection>)'
test: NewLife.CubeNC/ViewModels/DataField.cs#L294
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.