File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
packages/toolkit/src/query/core Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -459,35 +459,6 @@ export const coreModule = (): Module<CoreModule> => ({
459
459
} )
460
460
safeAssign ( api . internalActions , sliceActions )
461
461
462
- // remove in final release
463
- Object . defineProperty ( api . util , 'updateQueryResult' , {
464
- get ( ) {
465
- if (
466
- typeof process !== 'undefined' &&
467
- process . env . NODE_ENV === 'development'
468
- ) {
469
- console . warn (
470
- '`api.util.updateQueryResult` has been renamed to `api.util.updateQueryData`, please change your code accordingly'
471
- )
472
- }
473
- return api . util . updateQueryData
474
- } ,
475
- } )
476
- // remove in final release
477
- Object . defineProperty ( api . util , 'patchQueryResult' , {
478
- get ( ) {
479
- if (
480
- typeof process !== 'undefined' &&
481
- process . env . NODE_ENV === 'development'
482
- ) {
483
- console . warn (
484
- '`api.util.patchQueryResult` has been renamed to `api.util.patchQueryData`, please change your code accordingly'
485
- )
486
- }
487
- return api . util . patchQueryData
488
- } ,
489
- } )
490
-
491
462
const { middleware, actions : middlewareActions } = buildMiddleware ( {
492
463
reducerPath,
493
464
context,
You can’t perform that action at this time.
0 commit comments