Victor Nazarov
Victor Nazarov
I'd like to chime in that I also want something like proposed here. I guess that I would like to generalize the issue, so that every line-break before method name...
Hello Adam, I'm glad to hear that you've found static-mustache useful. I've actually thought that that was very useful project and was a little disappointed because of the lack of...
> what your thoughts are on inheritance block scoping I think this is a question of who control's the scope. I think you imply that child template controls the scope...
> requires writing of invalid HTML mark-up @refacktor can you please expand a little what do you mean by invalid HTML mark-up. My personal experience is that mustache allows you...
Good point. Some kind of white-list should be good. We need to design the way to specify such list and share it between set of templates... Besides, you should probably...
Any suggestions about a way to specify toString-white-list?
Yes, but this doesn't address sharing problem. We probably want to define per project list of classes, probably per java package list of classes...
I'm considering something like this: User.java: ``` @GenerateRenderableAdapter( // points to src/main/resources/user.mustache file template = "user.mustache", // adapterName can be omitted. "Renderable{{className}}Adapter" name is used by default adapterName = "RenderableHtmlUserAdapter"...
Another concern is that we need a good default list of classes. Ideally it must be complete for JDK, and this seems not so trivial work... We shouldn't unexpectedly add...
@talios I understand your use case, but it seems somewhat orthogonal to what @jbgi is talking about. I think @jbgi wants to make all generated code to be private implementation...