Force.com-JavaScript-REST-Toolkit icon indicating copy to clipboard operation
Force.com-JavaScript-REST-Toolkit copied to clipboard

Update search to better align with REST API

Open rfritts opened this issue 12 years ago • 0 comments

REST API returns JSON Serialized List<SObject>, current RemoteTK controller serializes List<List<SObject>>, which is the default return of a SOSL query - this better aligns the RemoteTK implementation with the ForceTK REST API implementation for better interoperability and interchangability.

Iterate the List of List<SObject> and merge with addAll.

rfritts avatar Aug 14 '13 15:08 rfritts