clarify the feature set of standalone apps
I'm submitting a...
- [ ] Regression
- [ ] Bug report
- [ ] Feature request
- [x] Documentation issue or request (new chapter/page)
- [ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
at https://docs.nestjs.com/standalone-applications isn't clear which nestjs features aren't supposed to work when using NestFactory.createApplicationContext (+ app.init)
Expected behavior
I'd like to see which features won't be evaluated in the standalone mode.
I'm not sure what is expected to work in such apps and what is not, I just have few guesses
here's a non-exhaustive WIP list of those features:
- ~controllers~
- middleware; which includes the
NestModuleinterface - ~pipes~
- ~guards~
- ~interceptors~
- ~filters~
the scratched ones are the features that although not useful (usually) in standalone apps they are initialized by nestjs (v10)
What is the motivation / use case for changing the behavior?
people sometimes complain that few features that aren't working when using the standalone mode.
Would you like to create a PR for this?
I'll create after testing every feature that I can recall
https://github.com/nestjs/docs.nestjs.com/commit/0bd7775e7a9fb2b050c02ded9db7a90a09d6179d