XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

Provide `.promise()` functions to the old endpoint along with promise-polyfilled library

Open mktange opened this issue 8 years ago • 0 comments

Similar to XrmQuery for the Web API, the old endpoint should also have .promise() functions next to their .execute() functions, which returns a ES6 Promise instead of relying on callbacks.

A new JavaScript library file should also be generated which includes a promise polyfill (dg.xrmquery.rest.promise.min.js), just like it is for the Web API version.

mktange avatar Jun 21 '17 09:06 mktange