Hi, how to make that everytime an user is created ...
# prisma-whats-new
d
Hi, how to make that everytime an user is created a functions runs and adds all necessary fields on new user?
m
@Domantas you could use a subscription like this one which calls a resolver
Copy code
subscription {
  User(filter: { mutation_in: [CREATED] }) {
    updatedFields
    node {
      id
      name
      email
    }
  }
}