ngneat / overview

🤖 A collection of tools to make your Angular views more modular, scalable, and maintainable
MIT License
120 stars 8 forks source link

Injector option support for TemplateViewOptions config #17

Closed anton-github closed 1 year ago

anton-github commented 1 year ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Currently there is no way of passing custom injector as a part of TemplateViewOptions when calling ViewService.createTemplate.

Expected behavior

I would expect optional injector to be a part of the TemplateViewOptions.

What is the motivation / use case for changing the behavior?

Motivation is the same as for injector to be a part of the CompViewOptions