@adimm/x-injection 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -30
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2360,36 +2360,6 @@ module.get(SomeService)
2360
2360
  InjectionProviderModuleMissingProviderError
2361
2361
  ```
2362
2362
 
2363
- Here is the same lookup chain rendered as a graph:
2364
-
2365
- ```mermaid
2366
- flowchart TD
2367
- A["module.get(SomeService)"] --> B
2368
-
2369
- subgraph own["① Own container"]
2370
- B{{"Bound here?"}}
2371
- end
2372
-
2373
- B -- Yes --> Z(["✅ Return instance"])
2374
- B -- No --> C
2375
-
2376
- subgraph imports["② Imported modules (exported providers only)"]
2377
- C{{"Exported by<br/>DatabaseModule?"}}
2378
- C -- No --> D{{"Exported by<br/>ConfigModule?"}}
2379
- end
2380
-
2381
- C -- Yes --> Z
2382
- D -- Yes --> Z
2383
- D -- No --> E
2384
-
2385
- subgraph global["③ AppModule (via AppBootstrapModule)"]
2386
- E{{"Bound in<br/>AppModule?"}}
2387
- end
2388
-
2389
- E -- Yes --> Z
2390
- E -- No --> F(["❌ MissingProviderError"])
2391
- ```
2392
-
2393
2363
  **Resolution in practice** — given the modules set up in [Import/Export Pattern](#importexport-pattern) and [Global Modules](#global-modules):
2394
2364
 
2395
2365
  ```ts
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/AdiMarianMutu/x-injection"
6
6
  },
7
7
  "description": "Powerful IoC library built on-top of InversifyJS inspired by NestJS's DI.",
8
- "version": "3.0.2",
8
+ "version": "3.0.4",
9
9
  "author": "Adi-Marian Mutu",
10
10
  "homepage": "https://github.com/AdiMarianMutu/x-injection#readme",
11
11
  "bugs": "https://github.com/AdiMarianMutu/x-injection/issues",