redux-toolkit
redux-toolkit copied to clipboard
[Feature Request] [RTK Query] Prefix Inject Endpoints with URL (either versioning or shared base)
Feature Request
Looking for a feature that will prefix the injectEndpoint urls with added context similar to how baseUrl prefixes every URL. The example would look like this
Example
This could have multiple purpose but we have a microservice architecture so the code split folders commonly have shared prefixes such as user
or notification
but most importantly versioning like v1
so we can update an entire microservice versioning without copy pasting each individual hook.