docs.nestjs.com
docs.nestjs.com copied to clipboard
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
NestModule
interface - ~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.