DictValidator: Allow non-string keys / customizable key validation #114
Labels
enhancement
Improvements to existing features or smaller new features
question
Further information is requested
Milestone
Currently, the
DictValidator
only allows strings as dictionary keys.Originally the reason for this was purely "we mostly want to use this with JSON and JSON doesn't support non-string keys anyway", but there are cases where non-string keys (e.g. integers) can be useful.
There are some open questions about this, though.
Validator
askey_validator
.isinstance
check.The text was updated successfully, but these errors were encountered: