msgraph-sdk-javascript icon indicating copy to clipboard operation
msgraph-sdk-javascript copied to clipboard

Update `.api()` signature to align with Kiota request executor styles.

Open nikithauc opened this issue 3 years ago • 0 comments

Currently: client.api().headers().select().get();

New style;

const queryOptions = {
select : "id"
};

const headers = {
 key: value
}; 
`client.api().get(queryOptions, headers )`

nikithauc avatar Mar 14 '22 08:03 nikithauc