maxmind / MaxMind-DB-Reader-java

Java reader for the MaxMind DB format
https://maxmind.github.io/MaxMind-DB-Reader-java/
Apache License 2.0
114 stars 43 forks source link

Issue #126 - Improve error handling in Decoder.decodeMapIntoMap() #127

Closed thoricha91 closed 1 year ago

thoricha91 commented 1 year ago

This PR aims to improve the error handling of Decoder.decodeMapIntoMap() by:

This logic should be in line with the error handling seen in Decoder.decodeMapIntoObject().

ReaderTest has been extended with a new test; this exercises the handling a datatype mismatch between the schema in the MMDB file and the provided class to populate