Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.0
-
Component/s: DSL for Data Contract, DSL for Services
-
Labels:None
-
Number of attachments :
Description
When dto-translators use other dto-translators they are declared as instance variables. And they are supposed to be injected by Spring (as of revsion 2748).
But the Spring configuration (applicationContext.xml) for the used dto-translators is only generated when the underlying dto is imported into the Service model.
Before rev 2748 this was not nescesary because the used dto-translators (instance variables) where instantiated directly by 'new-ing' them and no Spring config was used.
Question: Is it still useful to inject instance variables by Spring, even if there is only one type that can be used?
Done by Jos