is there any easy way to provide a user-specific f...
# prisma-whats-new
t
is there any easy way to provide a user-specific feed of other nodes that changes on queries instead of mutations? right now it seems like the only way to provide something like this is to update the list data for the user type on every mutation
Just seems weird that we can't place any custom logic when querying
a
@teo What's your usecase?
t
Forum type communication, i want to be able to define which threads are pushed to the top of the user's feed based on their interests, etc...
I looked at this https://github.com/graphcool/feature-requests/issues/40 but I'm wondering if there's any other solution I could implement rn
This is my final concern before switching from my current, custom graphql api to graphcool
a
It's a very valid use case, maybe you should put it in that FR
I guess that until custom queries become public, you're a bit stuck on this one, other than doing an update mutation like you already suggested
t
😞
Ok well everything else is convenient enough that I'll evaluate whether that approach is worth it - thanks for the help
a
I'll have to be honest though, the first stage for 'custom queries' is really that, custom queries. It's not about attaching hooks to the existing queries like request pipeline hooks for mutations. I'm pretty sure they have that on the roadmap too though.