-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Determine latest index version dynamically (#99599)
This commit reduces some of the boilerplate needed for defining new IndexVersion constants. Previously defining a new constant meant both adding the constant and updating the definition of CURRENT. With this change the CURRENT is automatically figured out. It utilizes the already existing sorted map that we have for finding duplicate index version definitions.
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters