: Blueprint issue with generics
I certainly would not oppose extending the ext namespace, or adding a new
namespace for that.
But I also don't plan to spend a day on that, as there is an easy workaround :
this is already available by adding a few lines of xml, or even adding a new
file, those can
>
>
>
> *De :* CLEMENT Jean-Philippe [mailto:jean-philippe.clement@
> fr.thalesgroup.com]
> *Envoyé :* mardi 27 septembre 2016 11:12
>
> *À :* user@aries.apache.org
> *Objet :* RE: Blueprint issue with generics
>
>
>
> This example is a bit particular as “3” has no ty
Hi Guillaume,
Do you think a fallback converter option (or via a fragment) might be added to
Aries?
JP
De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com]
Envoyé : mardi 27 septembre 2016 11:12
À : user@aries.apache.org
Objet : RE: Blueprint issue with generics
be more interesting to have a
fallback strategy isn’t it?
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : lundi 26 septembre 2016 21:36
À : user@aries.apache.org
Objet : Re: Blueprint issue with generics
Again, I'm really not sure that would be a good idea.
Some use cases are really
eneric-aware converter or the non-generic one :)
>
>
>
> (please please please!)
>
>
>
> Regards,
>
> JP
>
>
>
> *De :* Guillaume Nodet [mailto:gno...@apache.org]
> *Envoyé :* lundi 26 septembre 2016 18:01
>
> *À :* user@aries.apache.org
> *Obj
r@aries.apache.org<mailto:user@aries.apache.org>
Objet : Re: Blueprint issue with generics
Have you been able to try the converter ?
2016-09-23 13:07 GMT+02:00 Guillaume Nodet
<gno...@apache.org<mailto:gno...@apache.org>>:
2016-09-23 12:22 GMT+02:00 CLEMENT Jean-Philippe
<j
[mailto:gno...@apache.org]
> *Envoyé :* lundi 26 septembre 2016 15:19
>
> *À :* user@aries.apache.org
> *Objet :* Re: Blueprint issue with generics
>
>
>
> Have you been able to try the converter ?
>
>
>
> 2016-09-23 13:07 GMT+02:00 Guillaume Nodet <gno...@ap
[mailto:gno...@apache.org]
Envoyé : lundi 26 septembre 2016 15:19
À : user@aries.apache.org
Objet : Re: Blueprint issue with generics
Have you been able to try the converter ?
2016-09-23 13:07 GMT+02:00 Guillaume Nodet
<gno...@apache.org<mailto:gno...@apache.org>>:
2016-09-23 12:22 GMT+02:00
Class().isInstance(sourceObject);
> }
>
> @Override
> public Object convert(Object sourceObject, ReifiedType targetType) throws
> Exception {
> return sourceObject;
> }
> }
>
>
>
>>
>>
>> JP
>>
>>
>>
>> *De
i 23 septembre 2016 11:36
>
> *À :* user@aries.apache.org
> *Objet :* Re: Blueprint issue with generics
>
>
>
> Have you tried using a Converter ? This should fix all your problems quite
> easily, it's only 2 or 3 lines to add to your blueprint.
>
>
>
> 2016-09
extra converters and Blueprint to get no added
value?
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : vendredi 23 septembre 2016 11:36
À : user@aries.apache.org
Objet : Re: Blueprint issue with generics
Have you tried using a Converter ? This should fix all your problems quite
is not assigned. Does it mean it won’t be fixed?
>
>
>
> Regards,
>
> JP
>
>
>
> *De :* CLEMENT Jean-Philippe [mailto:jean-philippe.clement@
> fr.thalesgroup.com]
> *Envoyé :* vendredi 16 septembre 2016 14:29
> *À :* user@aries.apache.org
> *Objet :* RE
...@bendoerr.me]
Envoyé : jeudi 11 février 2016 22:39
À : user@aries.apache.org
Objet : Re: Blueprint issue with generics
Also would love to see this fixed. My workaround is usually this:
void setSomething(Something s)
to
> setSomething(S s)
which maintains the compile type checking. And like Jean-Phili
Dear Aries Team,
I have an issue with the way generics are handled in Blueprint. I get an
exception claiming that the bean conversion is not possible, but it should.
Let's say I have a bean with the method setSomething(Something) called via
blueprint with another bean implementing Something =>
Also would love to see this fixed. My workaround is usually this:
void setSomething(Something s)
to
> setSomething(S s)
which maintains the compile type checking. And like Jean-Philippe,
third-party APIs mean that if I can I have to create a local extension with
a hacked setter just to make
15 matches
Mail list logo