refactor: split lookups and projections out of ContractsService #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/split-contracts-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ContractsService had grown to ~570 lines and mixed several unrelated jobs. No behaviour changes.
LookupsService: the lookups bundle (device types, boxes, parameter hints, priorities, flow states);LookupsControlleruses it directly.ContractProjections: contract detail, item and configuration mapping, plus a singlePriorityName(previously duplicated in GuideService).
ContractQuery: sorting (ApplySort,ParseSort) lives next to the filters; removed a duplicated stale doc comment..context/codebase-map.mdupdated.ContractsService is now ~410 lines.
Testing
dotnet build(warnings as errors),dotnet test: 237 passed