You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by GitBox <gi...@apache.org> on 2021/01/21 10:30:09 UTC

[GitHub] [wicket] bhuism commented on pull request #461: Add @Autowired annotation to SpringInjector

bhuism commented on pull request #461:
URL: https://github.com/apache/wicket/pull/461#issuecomment-764538373


   @svenmeier I agree, it is the spring (defacto) standard injection annotation, and does not _need_ to be added. The rationale is for consistency. In normal spring beans one can (obviously) not use wickets @SpringBean. The other option @Inject is not the spring defacto standard, I think new wicket users (who know spring) will find it intuitive (or even expect) to be able to use @Autowired
   
   ps: I would love to see that Spring does the injection, buts thats another story
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org