Skip to content

[Feature Request] [RTK Query] Prefix Inject Endpoints with URL (either versioning or shared base) #3646

Open
@MylesWardell

Description

@MylesWardell

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

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions