We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Action supports constructor injection with parameters in Spring.
In terms of injection, action only supports this method at present.
@Component @ActionController(PersonCmd.cmd) public class PersonAction { @Resource PersonService personService; ... }
In the future, action will support constructor injection.
@Component @AllArgsConstructor @ActionController(PersonCmd.cmd) public class PersonAction { final PersonService personService; ... }
Other code
@Service @AllArgsConstructor public class HeroService { final MongoTemplate mongoTemplate; ... } @Service @AllArgsConstructor public class PersonService { final MongoTemplate mongoTemplate; final HeroService heroService; ... }
The text was updated successfully, but these errors were encountered:
🐳 #386 Action supports constructor injection with parameters in Spring
e3abc36
🐳 Simplify the implementation class of ActionParserListener related t…
435e516
…o ProtoDataCodec. and #386
iohao
No branches or pull requests
Introduction
Action supports constructor injection with parameters in Spring.
In terms of injection, action only supports this method at present.
In the future, action will support constructor injection.
Other code
The text was updated successfully, but these errors were encountered: