since I always have an “id” field in my queries, here’s what seems to work using the selection api
(some->> (executor/selections-tree context)
(select-first [MAP-KEYS #(= "id" (name %))])
namespace
keyword)
that’s specter in the second step so not material to this question
just wondering if there’s a more direct way to do this but I’m happy to move forward with this solution