You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment request executors: get(), post() etc return a Promise but we don't have a way to specify what object the Promise will resolve to. The developer experience is impacted when working with returned objects where IDE's do not provide autocompletion e.g.
$user = $graphServiceClient->users()->byUserId('x')->get()->wait();
// IDE's will not provide autocompletion here$user->...
This is due to a limitation with the PHP Promises implementation. However, there's an already approved PR, pending merging to address this.
At the moment request executors: get(), post() etc return a
Promise
but we don't have a way to specify what object thePromise
will resolve to. The developer experience is impacted when working with returned objects where IDE's do not provide autocompletion e.g.This is due to a limitation with the PHP Promises implementation. However, there's an already approved PR, pending merging to address this.
Solution:
The text was updated successfully, but these errors were encountered: