PassFort / json-schema-to-flow-type

69 stars 17 forks source link

Check for proper required key when merging allOf schemas #12

Closed jtaylor10 closed 6 years ago

jtaylor10 commented 6 years ago

Check was looking for $required instead of required

Fixes #11

jtaylor10 commented 6 years ago

FYI - to get this to build/work on my machine I had to purge the committed flow-typed directory and upgrade flow-bin and flow-typed packages or else I got the same errors as what TravisCI is getting. I didn't want to pollute this PR with that stuff but I can if you want me to. The flow-typed directory should really be gitignored.

dannynelson commented 6 years ago

Thanks @jtaylor10! Sorry for the late response

dannynelson commented 6 years ago

json-schema-to-flow-type@0.2.7