Hey folks, I’m working on my first server-side sub...
# prisma-whats-new
s
Hey folks, I’m working on my first server-side subscription function. Is it possible for me to request a relation to the node I’m working with from within the function? Or should I have something like this as my subscription query?
Copy code
subscription {
  InstagramMedia(filter: {
    mutation_in: [CREATED]
  }) {
    updatedFields
    node {
      id
      instagramAccount {
        user {
          instagramToken
        }
      }
    }
  }
}