Skip to content

EntityController提取共性代码,MVC与API共用于EntityController2,减少维护工作量 #354

EntityController提取共性代码,MVC与API共用于EntityController2,减少维护工作量

EntityController提取共性代码,MVC与API共用于EntityController2,减少维护工作量 #354

Triggered via push November 6, 2024 07:30
Status Failure
Total duration 1m 25s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test: NewLife.Cube/Common/EntityController2.cs#L204
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnInsert' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L209
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnUpdate' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L236
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnDelete' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L204
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnInsert' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L209
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnUpdate' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L236
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnDelete' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L204
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnInsert' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L209
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnUpdate' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L236
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnDelete' with the same parameter types
test: NewLife.Cube/Common/EntityController2.cs#L204
Type 'EntityController<TEntity, TModel>' already defines a member called 'OnInsert' with the same parameter types
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/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/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/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'