hello,
I'm working on the REST indexBy feature, and I have the following issue,
Among the several fields that could be user for indexing a people request, some of then can work as a key straightforward, but others, since they're objects, they need to be converted to a string somehow. ie yo index by name, I need to do somethink like $key = $nameObj->getUnstructured(); and I need to check every property to know wether it's an object or not.
I was thinking about adding a __toString() method to those objects.

Any ideas?


As I see, the content of entry in the RestFulCollection object in the ResponseItem returned by the PeopleService->getPeople is a regular array, but it depends on the implementation of the service. Shouldn't it be an array of Person Objects?

Mauro

Reply via email to