Skip to content

Add new "basepath" keyword to define base path for the API routes#426

Merged
VojtechVitek merged 2 commits intomasterfrom
add-new-basepath-keyword-to-define-base
Feb 10, 2026
Merged

Add new "basepath" keyword to define base path for the API routes#426
VojtechVitek merged 2 commits intomasterfrom
add-new-basepath-keyword-to-define-base

Conversation

@VojtechVitek
Copy link
Copy Markdown
Contributor

@VojtechVitek VojtechVitek commented Feb 10, 2026

This will allow users to

  • override the default "/rpc" prefix
  • use a custom prefix such as "/v1" to enable schema versioning

If empty, the value defaults to "/rpc" for backward compatibility.
However, "basepath" will be required in the future versions of webrpc.

Partially implements #390.

This will allow users to
- override the default "/rpc" prefix
- use a custom prefix such as "/v1" to enable schema versioning

If empty, the value defaults to "/rpc" for backward compatibility.
However, "basepath" will be required in the future versions of webrpc.
@VojtechVitek VojtechVitek merged commit 70233bc into master Feb 10, 2026
4 checks passed
@VojtechVitek VojtechVitek deleted the add-new-basepath-keyword-to-define-base branch February 10, 2026 16:07
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.

1 participant