Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix reducerPath for query definitions #1977

Merged
merged 1 commit into from
Jan 31, 2022
Merged

fix reducerPath for query definitions #1977

merged 1 commit into from
Jan 31, 2022

Conversation

phryneas
Copy link
Member

Fixes #1879 #1914 #1976

I really don't know how I could have missed that.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 60af3a9:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration

@github-actions
Copy link

size-limit report 📦

Path Size
1. entry point: @reduxjs/toolkit (cjs.production.min.js) 12.93 KB (0%)
1. entry point: @reduxjs/toolkit (esm.js) 10.79 KB (0%)
1. entry point: @reduxjs/toolkit/query (cjs.production.min.js) 22.63 KB (0%)
1. entry point: @reduxjs/toolkit/query (esm.js) 19 KB (0%)
1. entry point: @reduxjs/toolkit/query/react (cjs.production.min.js) 24.87 KB (0%)
1. entry point: @reduxjs/toolkit/query/react (esm.js) 21.69 KB (0%)
2. entry point: @reduxjs/toolkit (without dependencies) (cjs.production.min.js) 5.71 KB (0%)
2. entry point: @reduxjs/toolkit (without dependencies) (esm.js) 5.67 KB (0%)
2. entry point: @reduxjs/toolkit/query (without dependencies) (cjs.production.min.js) 10.08 KB (0%)
2. entry point: @reduxjs/toolkit/query (without dependencies) (esm.js) 10.52 KB (0%)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (cjs.production.min.js) 2.8 KB (0%)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (esm.js) 3.21 KB (0%)
3. createSlice (esm.js) 5.03 KB (0%)
3. createEntityAdapter (esm.js) 6.28 KB (0%)
3. configureStore (esm.js) 5.65 KB (0%)
3. createApi (esm.js) 17.2 KB (0%)
3. createApi (react) (esm.js) 19.92 KB (0%)
3. fetchBaseQuery (esm.js) 11.63 KB (0%)
3. setupListeners (esm.js) 10.42 KB (0%)
3. ApiProvider (esm.js) 18.54 KB (0%)

@markerikson
Copy link
Collaborator

Hah, nice!

Copy link
Member

@msutkowski msutkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working by authors of the linked issues as well 👍

@markerikson markerikson merged commit 18e4f78 into master Jan 31, 2022
@markerikson markerikson deleted the fix-reducerPath branch January 31, 2022 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTK Query endpoint data selectors expecting an incorrect RootState type
3 participants