Skip to content

Add space metrics override function #78

Add space metrics override function

Add space metrics override function #78

Triggered via pull request November 14, 2023 13:52
Status Failure
Total duration 1m 6s
Artifacts

build-on-PR.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: LayoutFunctions/DataHall/src/DataHallLayout.cs#L163
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: LayoutFunctions/DataHall/src/DataHallLayout.cs#L163
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L94
Cannot convert null literal to non-nullable reference type.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L39
Possible null reference argument for parameter 'boundaries' in 'List<SpaceMetric> SpaceMetrics.UpdateSpaceMetricsByLayoutType(Dictionary<string, Model> inputModels, List<SpaceMetricsOverride> overrides, string layoutName, List<SpaceBoundary> boundaries, List<SpaceBoundary> openOfficeBoundaries, List<SpaceMetric> openCollabSpaceMetrics)'.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L39
Possible null reference argument for parameter 'openOfficeBoundaries' in 'List<SpaceMetric> SpaceMetrics.UpdateSpaceMetricsByLayoutType(Dictionary<string, Model> inputModels, List<SpaceMetricsOverride> overrides, string layoutName, List<SpaceBoundary> boundaries, List<SpaceBoundary> openOfficeBoundaries, List<SpaceMetric> openCollabSpaceMetrics)'.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L39
Possible null reference argument for parameter 'openCollabSpaceMetrics' in 'List<SpaceMetric> SpaceMetrics.UpdateSpaceMetricsByLayoutType(Dictionary<string, Model> inputModels, List<SpaceMetricsOverride> overrides, string layoutName, List<SpaceBoundary> boundaries, List<SpaceBoundary> openOfficeBoundaries, List<SpaceMetric> openCollabSpaceMetrics)'.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L76
Dereference of a possibly null reference.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L97
Converting null literal or possible null value to non-nullable type.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L103
Converting null literal or possible null value to non-nullable type.
build: WorkplaceStrategy/SpaceMetrics/src/SpaceMetrics.cs#L111
Nullable value type may be null.