ecosystem.findAll() currently has a bug where it doesn't find a match if a string key with uppercase letters is passed. The simple workaround has been to .toLowerCase() the string before passing, but it's time we fixed it for real.
Also improve string searching in ecosystem.find() by returning the exact match if there is one, rather than the first match.
Description
ecosystem.findAll()
currently has a bug where it doesn't find a match if a string key with uppercase letters is passed. The simple workaround has been to.toLowerCase()
the string before passing, but it's time we fixed it for real.Also improve string searching in
ecosystem.find()
by returning the exact match if there is one, rather than the first match.