pnp / pnpjs

Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs
https://pnp.github.io/pnpjs/
Other
763 stars 304 forks source link

Rework Caching and Pagination Logic #2841

Closed bcameron1231 closed 11 months ago

bcameron1231 commented 11 months ago

Add a new RawData event which returns the un-parsed raw response in Queryable Update Caching Behavior to hook into rawData event to set cached data Update Caching Behavior to override send with cached response Fix Tests

Category

Related Issues

fixes #2836

What's in this Pull Request?

Update to caching and queryable behavior to handle raw/unparsed data. Working with unparsed data allows us to store annotations and properties required for paginating (such as odata.nextLink) parsers.

bcameron1231 commented 11 months ago

Please review before merging :)