Closed jwpage closed 12 years ago
jwpage I have pulled your changes into my branch at https://github.com/gwagner/Shanty-Mongo
These changes are too good to go un-merged so i am going to start managing pulls from my form and we can get the pushed upstream later once coen-hyde has time to get back to them.
The
getValidators
andgetFilters
code does the same thing twice, and we're doubling the time required to run this code given that both functions were called insetProperty
.This commit gets around this problem by creating a single function
loadRequirements
, while maintaining the public API, and also lets us do a bit of extra caching at the same time.Thoughts?