Transforms use a target version for names to support uniform versioning. #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Some API developers would like to support uniform versions across their API endpoints. Others would like to support per-endpoint versioning. Version transforms could not support uniform versioning when the naming scheme used incremental integer indexes. Instead, transforms will now be defined using indexes which declare the version which is being targeted by the transform.
This allows API developers to select which versioning scheme they would like to support in their project.
If uniform versioning across all endpoints is desired, then newly created transforms should declare the next uniform API version target. Multiple endpoints can 'opt in' to a new uniform version change at the same time by creating transforms for each that target that new uniform version.
We're still able to support per-endpoint versioning, if API developers want to continue incrementing their endpoints' transforms independently of one another.
What does this PR do?