Hello everyone. I have created a subscription to m...
# prisma-whats-new
h
Hello everyone. I have created a subscription to my
Comment
table. And works fine. Here is it:
Copy code
subscription getPostComments {
	Comment {
		node {
			content
		}
	}
}
The problem is that I am subscribed to any comments for all posts. I want to create a subscription for the current post πŸ™‚ How to filter that? I exported the schema and unfortunately I don’t see the
type Subscriptions
. How to do that ?
n
you can use subscription filters. would love to further discuss this question in the forum: https://www.graph.cool/forum/ πŸ™‚
πŸ‘ 1
h
Thanks you πŸ™‚