Skip to content

make api_versions generate a latest_version function#11

Merged
sunshowers merged 2 commits into
mainfrom
sunshowers/spr/make-api_versions-generate-a-latest_version-function
Oct 1, 2025
Merged

make api_versions generate a latest_version function#11
sunshowers merged 2 commits into
mainfrom
sunshowers/spr/make-api_versions-generate-a-latest_version-function

Conversation

@sunshowers
Copy link
Copy Markdown
Collaborator

Make the api_versions! macro generate a latest_version function that produces the latest version. This makes it possible to add new versions without having to updating ServerBuilder callsites.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers merged commit bdaa2f2 into main Oct 1, 2025
6 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/make-api_versions-generate-a-latest_version-function branch October 1, 2025 23:50
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