lrstanley/entrest

feat: remove unnecessary db call to fetch edge

Closed this issue · 0 comments

Currently (re: entx), we fetch the root entity, then fetch the specific edge of that entity. Ideally, we should be able to query the edge directly based of the ID of the root, but the ent logic for this is a bit more complex.

I.e. entity -> query edge vs query edge by from's ID (so don't need to query extra data).