-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TemplateFactory - variable template class (RFC) #141
Comments
What is the use case for this? |
@TomasVotruba For example this. |
@mrtnzlml I see. Coold you prepare PR for this with test? |
I implemented it differently. But in fact it's quite similar to the @f3l1x solution. The only difference is that my solution doesn't use setter. And even though I believe that it's better without setter, I'm not sure about my implementation. Usage:
Unfortunately Template cannot be service (or at least I don't know how to do it properly - and I tried). |
Maybe it's little bit confusing name
Maybe? |
Yeah, I was thinking about this approach but I want to know more opinions (from more people) first... :) |
Please discuss under PR #159, as it is suggested solution and it's more relevant there. |
Hi! I have and idea about TemplateFactory.
If you need to use your own Template class, you have to extend original TemplateFactory now.
What about this implementation?
What do you think? It makes TemplateFactory more flexible. You can setup your template implementation over NEON config.
Thanks for feedback.
The text was updated successfully, but these errors were encountered: