Skip to content

Commit

Permalink
Add experimental ability to clone a Container (see Container.clone JS…
Browse files Browse the repository at this point in the history
…Doc for details).

Fixed a defect in the value passed to error handling callback when the error occured during async post construction.
  • Loading branch information
pcafstockf committed Apr 17, 2022
1 parent 025ffd9 commit 22f6158
Show file tree
Hide file tree
Showing 8 changed files with 366 additions and 189 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = {
"import/order": "off",
"indent": "off",
"jsdoc/check-alignment": "error",
"jsdoc/check-indentation": "error",
"jsdoc/check-indentation": "off",
"jsdoc/newline-after-description": "error",
"max-classes-per-file": "off",
"max-len": "off",
Expand Down
2 changes: 1 addition & 1 deletion ToDo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Someday / Maybes
- [ ] Add tests that mis-apply decorators (see src/decorators.ts)
- [ ] Add tests for removing container bindings
- [ ] Add tests for checking if a binding is known by traversing up the Container hierarchy.
- [ ] Add tests for releaseIfSingleton.
- [ ] Add additional tests for releaseIfSingleton.
- [ ] Add tests for throwing from resolveIfSingleton if one of the singleton's threw during creation.
- [ ] Add second parameter to Container constructor that allows for initialization of constants (can we do factories to?).
- [ ] Find and implement a more maintainable api doc strategy (currently run this command and hand edit a lot: typedoc --excludeExternals --excludeNotExported --excludePrivate --includeVersion --toc Injector,Binder,Container,Injectable,Inject,Optional,PostConstruct --mode file --out tmp-docs src)
Expand Down
Loading

0 comments on commit 22f6158

Please sign in to comment.