mirror of
https://github.com/google/nomulus
synced 2026-01-07 14:05:44 +00:00
The command still enforces uniqueness (which is fine), but by changing the cache from a BiMap to a Map, we can support non-unique suffixes if they happen to be configured as data. The only reason the cache was ever a BiMap in the first place was to support the Registry 2.0 migration, which was finished a year and a half ago. It's only being read one way now, so a Map is fine. See https://github.com/google/nomulus/pull/53 for context. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144381946