Prisma1: Subscription CREATED event not fire

Created on 28 Jul 2018  路  2Comments  路  Source: prisma/prisma1

my docker-compose.yml

version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.12
    restart: always
    ports:
    - "4466:4466"
    environment:
      PRISMA_CONFIG: |
        port: 4466
        # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
        # managementApiSecret: my-secret
        databases:
          default:
            connector: mysql
            host: mysql
            port: 3306
            user: root
            password: prisma
            migrations: true
  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: prisma
    volumes:
      - mysql:/var/lib/mysql
volumes:
  mysql:

datamodel.graphql

type Post {
  id: ID! @unique
  title: String!
}

end

i have been reading docshttps://www.prisma.io/docs/reference/prisma-api/subscriptions-aey0vohche#subscribe-to-all-changes-to-all-nodes but not found any useful information

areengine bu1-repro-available

All 2 comments

I can confirm I am having the same issue with a 1.12 prisma image. CREATED doesn't fire, but UPDATED and DELETED fire as expected.

Duplicate of https://github.com/prismagraphql/prisma/issues/2824 This issue is fixed now 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marktani picture marktani  路  3Comments

tbrannam picture tbrannam  路  3Comments

sedubois picture sedubois  路  3Comments

thomaswright picture thomaswright  路  3Comments

notrab picture notrab  路  3Comments