brandur / json_schema

A JSON Schema V4 and Hyperschema V4 parser and validator.
MIT License
230 stars 45 forks source link

allow subtypes again when validating types (fixes #97) #98

Closed breunigs closed 6 years ago

breunigs commented 6 years ago

This fault was originally introduced in d110c244b7d3d5121273fa52b636095edbdbac22.

Note that this actually makes no difference performance wise, as far as I can see:

8,471 8,277 9,120  # without this patch
8,429 8,381 8,230  # with this patch
brandur commented 6 years ago

Awesome! Thank you so much @breunigs for (1) the quick turnaround, (2) the new test, and (3) the performance measurement even (?!)!