FLUID-5157: Message resolver lookup() doesn't accept single keys

Metadata

Source
FLUID-5157
Type
Improvement
Priority
Minor
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Anastasia Cheetham
Created
2013-09-27T13:48:00.805-0400
Updated
2015-06-15T10:46:23.455-0400
Versions
  1. 1.4
  2. 1.5
Fixed Versions
N/A
Component
  1. Framework

Description

The messageResolver component has two methods: lookup() and resolve(), both of which accept an array of keys. The resolve() function will also accept a single string key (calling fluid.makeArray() on it), but lookup() does not. Given that in many cases, lookup() will likely be used to retrieve a single key, it would be convenient if the function also accepted a single string key and array-ified it internally.