Hey guys - hopefully someone can help me with this...
# orm-help
c
Hey guys - hopefully someone can help me with this. We are planning to migrate to Prisma but I'm not sure how you can use subscription on the server side.
Copy code
this.apolloClient.subscribe({
        query: onUserUpdate
      })
      .subscribe({
        next: ({ data }) =>
           // process data
      });
Using Prisma it is complaining that it musth ave a selection of subfields.
Copy code
const prisma = new Prisma();

  client.subscription
    .user()
    .then(response => response)
    .catch(e => console.log(e));