natesilva / jayschema

[Unmaintained] - A comprehensive JSON Schema validator for Node.js
BSD 3-Clause "New" or "Revised" License
217 stars 22 forks source link

Remove founded schema from _missingSchemas #15

Closed Xflofoxx closed 1 year ago

Xflofoxx commented 10 years ago

Hi, I'm using your library for validationg my schemas. I'm using a custom loader that loads files from a directory. Everything works good but, inside the callback, if I call getMissingSchemas() it gives me the references of the missing schemas it has already loaded.

I already have done a patch, but I'd like to understand if this is a bug (so I'll provide the fix) or this is a wanted behaviour.

Thanks Dario