Fork me on GitHub
#pathom
<
2020-10-17
>
zhuxun203:10:27

Does Pathom's resolving mechanism implies that an n-step walk along the edges would typically result in n accesses to the database? Wouldn't that incur a performance penalty for very deep pulls? Has it ever been an issue?

dehli03:10:03

I haven’t personally used this yet but I remember reading through https://blog.wsscode.com/pathom/v2/pathom/2.2.0/connect/resolvers.html#_n1_queries_and_batch_resolvers which discusses an alternative to the issue you describe

👍 6