microsoft-graph-devx-api
microsoft-graph-devx-api copied to clipboard
back checks not single quotes for code snippets
In trying to copy and paste code snippets. For instance const options = { authProvider, };
const client = Client.init(options);
let res = await client.api('/me/events/AAMkADY2Yzk0ZmJmLThmMjEtNDQ0YS05YWZhLTMyMzM3MzMyYTcyOQBGAAAAAAAOX8rHsxkYRqZEHoOnr2fZBwC7c8_JSsv-RKz0f16Ax1PeAAAAAAENAAC7c8_JSsv-RKz0f16Ax1PeAAAAZVggAAA=') .get();
If I then want to use something like this.
return await getClient()
.api(me/calendar/events/${id}
)
.get();
I have to change the single quotes to back checks for this to work. Can we have back checks by default in javascript? AB#6025
To add to this: the current generator is inconsistent. It uses both single-quotes and double-quotes. This would make things consistent :D.