z2systems / neon-php

The PHP library for the NeonCRM API.
18 stars 9 forks source link

go($request) function cannot handle same columnName multiple times #1

Open sunnycs121 opened 6 years ago

sunnycs121 commented 6 years ago

My request looks like this:

$request = array( 'method' => 'customObjectRecord/listCustomObjectRecords', 'parameters' => array( 'userSessionId' => $session_id, 'objectApiName' => 'Placements_c', 'customObjectOutputFieldList.customObjectOutputField.columnName' => array('Start_Date_c', 'End_Date_c'), ), );

It appears that go($request) function cannot handle array of 'customObjectOutputFieldList.customObjectOutputField.columnName' multiple times.

karlkeefer commented 6 years ago

That's actually a limitation of PHP, but is still a problem with this library's design...