jonasschmidt / ex_json_schema

An Elixir JSON Schema validator
MIT License
366 stars 98 forks source link

Return unkown for datatypes not explicitly checked #36

Closed bmanuel closed 5 years ago

bmanuel commented 6 years ago

This deals with #20. There are cases where a module will have unsupported data types passed to it and this allows for a more graceful handling without requiring changes to any upstream modules.

jonasschmidt commented 6 years ago

Sorry this took a while. Can you add a test so we have that code path covered? Then I can merge it in.

bmanuel commented 6 years ago

@jonasschmidt, sorry for not including the test in the first place. If there are additional tests that you would like to see, please let me know and I will take care of it.

jonasschmidt commented 5 years ago

Thank you again for the fix. It is in version 0.6.1 that I released just now.