BlobDataProvider
should return DataErrorKind::ExtraneousLocale
for singleton structs
#3505
Labels
C-data-infra
Component: provider, datagen, fallback, adapters
S-small
Size: One afternoon (small bug fix or enhancement)
T-bug
Type: Bad behavior, security, privacy
Currently it returns
MissingLocale
, which is not correct, as it will make fallback continue. For example requestingde-DE
for a singleton with fallback will tryde-DE
,de
,und
and actually succeed, where it should be an error because tryingde-DE
for such a key is a bad request.The text was updated successfully, but these errors were encountered: