obsidiansystems / rhyolite

BSD 3-Clause "New" or "Revised" License
26 stars 17 forks source link

fix O(n) query handler in handlePersonalAuthMapQuery. #191

Closed danbornside closed 2 years ago

danbornside commented 2 years ago

old version ran query handler for every token in the query. new version calls it only once, with users in the view rather than a separate argument.

As a general rule, any use of traverse in handlers is suspect for this reason.