Hey! Second question in a day!
Has anybody figured out how to keep Algolia and prisma/postgres in sync? I tried writing some middleware a while ago which was like
https://gist.github.com/Swapnull/9a88e7b9df1db7a68711728394717355 , but it feels pretty crappy having to write a function for each model I want to put there. And that doesn’t even touch things like updating.