medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Refactor and cleanup of remote-place-resolver #128

Open kennsippell opened 6 months ago

kennsippell commented 6 months ago

This functionality was originally written to take a list of places and search for all of them in one result. When we added hierarchy constraints, the algorithm changed to being a linear search executing one search query at a time. The algorithm remains in a weird half state with the mapIdToDetails object no longer making any sense. The code can be much simpler now.