docs: add important warnings about toInstance limitations and singleton behavior with params

- Add detailed warning about toInstance usage restrictions in module builders
- Explain singleton behavior with parameterized providers
- Clarify singleton() usage with toInstance() calls
- Update both English and Russian documentation versions
This commit is contained in:
Sergey Penkovsky
2025-09-08 14:07:48 +03:00
parent 7f5f5c4064
commit ce2e770cbe
3 changed files with 168 additions and 35 deletions

View File

@@ -43,5 +43,6 @@
},
"engines": {
"node": ">=18.0"
}
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}