Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ Please deploy this the database project of your choice then place the following
}
```

Because we use EF Core, a repo layer does not faciliate testing since we can test against MSSQLLOCALDB. This blurs the line of unit and integration tests, but provides value quicker.
Because we use EF Core, a repo layer does not facilitate testing since we can test against MSSQLLOCALDB by creating a real instance of the db.

May need to do following commands

`dotnet dev-certs https --clean`

`dotnet dev-certs https --trust`

`dotnet dev-certs https --check`

## todo

1. Add global exception handling
Additionally, when we write integration tests, we can test against a real db instance which is spun up via TestContainers when the test begins.
1 change: 0 additions & 1 deletion src/WarehouseEngine.UI/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/strict-boolean-expressions": "warn",
"@angular-eslint/prefer-output-readonly": "error",
"@angular-eslint/prefer-standalone-component": "warn",
"@angular-eslint/no-pipe-impure": "error",
"@angular-eslint/no-conflicting-lifecycle": "warn",

Expand Down
26 changes: 26 additions & 0 deletions src/WarehouseEngine.UI/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,31 @@
"cli": {
"schematicCollections": ["@angular-eslint/schematics"],
"analytics": "6dd80bd0-5f79-4649-98df-16a225132271"
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
3 changes: 1 addition & 2 deletions src/WarehouseEngine.UI/eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ module.exports = [{
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/strict-boolean-expressions": "warn",
"@angular-eslint/prefer-output-readonly": "error",
"@angular-eslint/prefer-standalone-component": "warn",
"@angular-eslint/no-pipe-impure": "error",
"@angular-eslint/no-conflicting-lifecycle": "warn",
"@typescript-eslint/no-unused-vars": "off",
Expand Down Expand Up @@ -97,4 +96,4 @@ module.exports = [{
"@angular-eslint/template/no-duplicate-attributes": "error",
"@angular-eslint/template/attributes-order": "warn",
},
}];
}];
Loading
Loading