refactor: remove the legacy customer creation path #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/remove-legacy-customer-path"
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
Contracts are created for a portal company only (ADR-020). The old path that created
customers from free text and merged them by IČO or name was used only by the practice contract.
CreateContractRequestdropscustomerId/newCustomer;UpdateContractRequestdropscustomerId(the frontend always sent null).
GET /customersandGET /customers/{id}(no frontend caller).CreateForCustomerAsync, because it runswithout a signed-in user and cannot reach the portal.
.httpexamples and docs updated.No database changes. Existing contracts and customers stay as they are.
Testing
dotnet build(0 warnings),dotnet test: 234 passednpm run lint,npm run builddotnet ef migrations has-pending-model-changes: no changes