Thursday, February 28, 2013

Re: GWT dev mode and GIN and dependency injection in general


 
I believe you're right. If you "mess" with DI stuff (for example add a new parameter to a constructor annotated with @Inject) the code will break when you reload. You have to rebuild the project at that point. I believe this is due to gin using generators which are not triggered on reload. 

You should update your GIN version ;-) With GIN 2.0 you can simply reload the page and nothing will break when you have changed dependencies in constructors, etc. or you have changed bindings in your GinModule.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment