felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Leangen <o...@leangen.net>
Subject Re: [Converter] Null result... why?
Date Thu, 11 Aug 2016 12:57:14 GMT

Hi David B.,

Thanks for your quick reply.

I’d be happy to help out… but I’m having a bit of trouble understanding the code. It’s
very low-level.

If there were more comments to explain the intent of what’s going on, perhaps I could be
of some use. :-)


Cheers,
=David



> On Aug 11, 2016, at 9:51 PM, David Bosschaert <david.bosschaert@gmail.com> wrote:
> 
> Hi David,
> 
> I will take a look at it sometime soon. It could very well be that you're
> hitting something that isn't implemented yet. The converter is pre-alpha at
> this stage :)
> 
> Cheers,
> 
> David
> 
> On 11 August 2016 at 13:44, David Leangen <osgi@leangen.net> wrote:
> 
>> 
>> Hi!
>> 
>> I have a DTO that looks like this:
>> 
>>    public class MyDTO extends DTO {
>>        public String pid;
>>        public String name;
>>        public String description;
>>        public String type;
>>    }
>> 
>> And a Map (myMap) that has key/values with these keys: {“pid”, “name”,
>> “description”, “type”}.
>> 
>> I make this call:
>> 
>>            MyDTO dto = converter.convert( myMap ).to( MyDTO.class );
>> 
>> 
>> It is my expectation that dto should be non-null, but I get a null result.
>> I step through the code, but am not particularly enlightened.
>> 
>> Any suggestion as to what strategy I could use to figure out my problem?
>> 
>> 
>> Thanks!
>> =David
>> 
>> 
>> 
>> 


Mime
View raw message