Replies: 2 comments 8 replies
-
I am using 6.29.1 and it looks like the keys are being exported? Example: export const getGetEntityCarsQueryKey = (params?: GetEntityCarsParams) => {
return [`/entity/cars`, ...(params ? [params] : [])] as const;
}; |
Beta Was this translation helpful? Give feedback.
6 replies
-
Made a codesandbox Check the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After updating from 6.24.0 to 6.29.1, all react query keys in the generated code are no longer exported. I couldn't find antything about this in the documentation, is there a way to enable this again? Or am I just misunderstanding how to handle query invalidations now? I often find myself needing the generated query keys.
Beta Was this translation helpful? Give feedback.
All reactions