341885: Adds options for rawResponse and disabledCache for update and create resource method.
1 unresolved thread
Merge request reports
Activity
Filter activity
- Resolved by Coby Sher
- Resolved by Coby Sher
- Resolved by Coby Sher
- Resolved by Coby Sher
- Resolved by Coby Sher
added 1 commit
- b8494723 - 3418939: Adds request base option interface and typecasting in the tests.
543 * Processes the API response and returns the JSON data. 544 * @param response - The response object from the API. 545 * @param cacheKey - The cache key to use for caching the response. 546 * @param options - (Optional) Additional options for customizing the request. {@link GetOptions | UpdateOptions | CreateOptions} 547 */ 548 async processApiResponseAndParseBody<T>( 549 response: Response, 550 cacheKey: string, 551 options?: GetOptions | UpdateOptions | CreateOptions, 552 ): Promise<T> { 553 const statusCode = response.status; 554 let json = await response.json(); 555 json = this.serializer 556 ? (this.serializer.deserialize(json) as T) 557 : (json as T); 558 if (this.cache && !options?.disableCache && statusCode < 400) { added 1 commit
- e6be8e80 - 3418939: Updates delete request to send both body and response.
mentioned in merge request !46 (merged)
Please register or sign in to reply