Having an optional default value on @Symbol seems useful to me.

On Mon, May 27, 2013 at 4:42 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Mon, 27 May 2013 17:23:36 -0300, Eli Doran <e...@elidoran.com> wrote:
>
>  I've used @Symbols a lot. I appreciate its flexibility and coercion
>> ability.
>>
>> I started programming around it though and instead accessing SymbolSource
>> and TypeCoercer directly because it is missing the ability to specify a
>> default value, and the ability to ignore when a value can't be found.
>>
>
> That's why the FactoryDefaults service and contributions to it exist: to
> provide default values when no one provides one as a contribution to the
> ApplicationDefaults service.
>
> --
> Thiago H. de Paula Figueiredo
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to