Closed kshefchek closed 3 years ago
@iimpulse could you review?
out of curiosity do we have any tests?
there are no tests, a little challenging to mock the solr request, but we could mock the solr response to make sure the _process_autocomplete_results fx is working as expected
I was thinking more on the golr query that it builds that fq properly or that complex equivalent stuff correctly, less so on a functional or integration
ah yes, that's a good idea, I'll add it before merging
@iimpulse tests added with add608c
Adds support for filtering in/out a prefix in a equivalent curie as well as filtering for only leaf nodes. See https://github.com/biolink/biolink-api/issues/368