You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org> on 2014/06/06 17:00:11 UTC

[jira] [Closed] (TAP5-1058) Provide shortcut Inject annotations for all annotation based object providers

     [ https://issues.apache.org/jira/browse/TAP5-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago H. de Paula Figueiredo closed TAP5-1058.
-----------------------------------------------

    Resolution: Not a Problem

I guess the effort to implement this isn't worth the improvement. In addition, no one has commented on this for a long time already, so I guess there's not much interest on this proposed improvement.

> Provide shortcut Inject annotations for all annotation based object providers
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-1058
>                 URL: https://issues.apache.org/jira/browse/TAP5-1058
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-ioc
>    Affects Versions: 5.2
>            Reporter: Hugo Palma
>              Labels: bulk-close-candidate
>
> I find that using the Inject annotation along with Value, Symbol, Path and others configured as object providers provides no additional value.
> Usually you just end up with a list of code looking like this:
> @Inject
> @Symbol(SymbolConstants.PRODUCTION_MODE)
> private boolean productionMode;
> It would be great if instead we could use something like:
> @InjectSymbol(SymbolConstants.PRODUCTION_MODE)
> private boolean productionMode;
> This would help reduced the growing amount of annotations that we have to use.
> This is value for all annotation based object providers as described here http://tapestry.apache.org/tapestry5.1/tapestry-ioc/injection.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)