« Previous | Next » 

Revision 3b5b21e2

ID3b5b21e2ad5e37ae72bfdc2ea91ae1a99daaf6b4

Added by Robert Lemke about 11 years ago

[+BUGFIX] FLOW3 (Property): Allow Object Converters to use any input format

Theoretically Object Converters should be able to support either arrays,
string or numbers as input format (if they wish). However, due to the program
flow in transformToObject() an Object Converter would only be invoked if the
source was an array.

This patch fixes this and also gives matching object converters precedence
before the Property Mapper's internal mapping functions (such as identity
array to object).

Change-Id: I16fc419ca40e28ae2605e06bde8dcbdd166b5231

  • added
  • modified
  • copied
  • renamed
  • deleted