https://www.prisma.io/ logo
Join Slack
Powered by
# orm-help
  • m

    Mickael Marques

    08/10/2019, 12:28 AM
    Hi there, I was trying to protect my API following this instructions https://www.prisma.io/docs/prisma-server/authentication-and-security-kke4/#protecting-the-prisma-api but when trying to deploy I get
    Invalid signature
    . Anyone can help please?
  • s

    Slackbot

    08/10/2019, 6:26 AM
    This message was deleted.
    m
    • 2
    • 3
  • a

    Alosies

    08/10/2019, 11:09 AM
    Hi, does anybody know where should we set the config to increase
    queueSize
    in prisma 1.30?
    👍 1
    m
    • 2
    • 1
  • j

    Joseph

    08/10/2019, 4:55 PM
    What's the best way to deprecate or change an Enum value?
  • c

    CCBCodeMonkey

    08/10/2019, 5:36 PM
    I have a prisma subscription set up with apollo server, and apollo client, for some reason my client side only gets messages from the subscriptions once every 3ish page reloads, anyone know how to debug this?
  • s

    Stef

    08/10/2019, 6:39 PM
    Hi folks, I’ve made a small utility to export data from Graphcool. In my case, I experienced occasional errors on the API gateway which killed the export each time, so this handles failures more gracefully, and restarts the cursor from where it left off each run. https://github.com/stefl/graphcool-export
    👍 1
  • c

    CCBCodeMonkey

    08/10/2019, 7:36 PM
    on my subscription problem
  • c

    CCBCodeMonkey

    08/10/2019, 7:37 PM
    it seems like the prisma subscription sometimes just doesn't end up coming back with the updates
  • c

    CCBCodeMonkey

    08/10/2019, 7:37 PM
    though I am not 100% sure if its apollo or prisma, hard to tell
  • c

    CCBCodeMonkey

    08/10/2019, 7:38 PM
    this is a really hard issue to figure out
  • c

    CCBCodeMonkey

    08/11/2019, 5:11 AM
    figured out my subscription problem, it was my heroku staging server running out of memory for prisma
  • c

    CCBCodeMonkey

    08/11/2019, 5:11 AM
    apparently that makes prisma drop subscription calls
  • k

    Kianoosh

    08/11/2019, 8:46 AM
    Hey guys today I've encountered a weird error when i tried to access to my data on database, Just to mentioned i created my database on
    Heroku
    using
    Prisma Cloud
    panel here is what I'm facing right now:
    atlantis-ecommerce-fdf259a3eb-logs-1565512839724.txt
    k
    • 2
    • 2
  • d

    Devashish Sethia

    08/11/2019, 5:44 PM
    Hi All, has anyone used Prisma with FeathersJS? If yes, does anybody have a good reference (tutorial/blog etc.) that I can use?
    j
    h
    • 3
    • 6
  • j

    Jo

    08/11/2019, 6:45 PM
    For anyone that might need a sample angular 8 app with prisma api https://github.com/yosiasz/tour-of-heroes-prisma-mongodb
  • c

    César Rodríguez

    08/12/2019, 12:11 PM
    does anyone know good / complex gh repo with integrations between nexus & prisma ? (besides the ones in prisma examples)
    t
    • 2
    • 1
  • c

    César Rodríguez

    08/12/2019, 12:12 PM
    also repos with good code architecture to learn about good practices 🙂 thanks!
    j
    • 2
    • 1
  • m

    Muhaki

    08/12/2019, 4:39 PM
    Hi guys, does anyone authenticate a use with cookies?
    h
    • 2
    • 5
  • f

    fandy

    08/13/2019, 12:08 AM
    Has anyone used Prisma, Hasura, Graphile, or a custom build with TypeORM? What are your experiences?
  • f

    fandy

    08/13/2019, 12:09 AM
    Also, is it worth building on Prisma right now as Prisma 2 will be released in a couple months?
    a
    • 2
    • 1
  • d

    dnbkr

    08/13/2019, 1:25 AM
    hey I'm having trouble deleting a User... getting
    Copy code
    The change you are trying to make would violate the required relation 'NotificationToUser' between Notification and User"
    here's the relevant part of the datamodel
    Copy code
    type User {
      notifications: [Notification] @relation(name: "UserNotification" onDelete: CASCADE)
    }
    
    type Notification {
        recipient: User @relation(name: "UserNotification" onDelete: SET_NULL)
    }
    using prisma server 3.4 (I think!?)
  • d

    dnbkr

    08/13/2019, 1:41 AM
    nvm I figured it out... had to get rid of any 'required' relations, seems to have solved it but not too happy with the solution
    h
    • 2
    • 1
  • w

    William

    08/13/2019, 2:42 AM
    hello anyone experienced with graphqlgen able to answer some questions?
    h
    j
    • 3
    • 2
  • r

    rein

    08/13/2019, 7:34 AM
    this is more of a general graphql question but is there a consensus on code first vs schema first these days?
    h
    d
    s
    • 4
    • 3
  • j

    James

    08/13/2019, 7:56 AM
    Any tips on transferring data from a prisma server to another with an identical schema?
    j
    h
    • 3
    • 3
  • k

    Kamal

    08/13/2019, 1:02 PM
    Hi how can I setup prisma server configs for .gitlab-ci.yml file for gitlab runner?
  • a

    Andres

    08/13/2019, 1:08 PM
    hello, is it possible to create read-only access jwt token for Prisma?
  • k

    Kamal

    08/13/2019, 4:53 PM
    I have problem with prisma service in .gitlab-ci.yml file , I have a .gitlab-ci.yml file like:
    Copy code
    image: node:latest
    
    variables:
      MYSQL_ROOT_PASSWORD: <some pass>
      PRISMA_CONFIG: <some config>
    
    services:
      - mysql:latest
      - prismagraphql/prisma:1.34
     
    . 
    . 
    .
    I have passed the needed env vars as I did in docker-compose file but I get this error for prisma service:
    Copy code
    Waiting for services to be up and running...
    
    *** WARNING: Service runner-A6Pcn8zU-project-145-concurrent-0-prismagraphql__prisma-1 probably didn't start properly.
    
    Health check error:
    exit code 1
    
    Health check container logs:
    2019-08-13T12:52:26.025374409Z FATAL: No HOST or PORT found                      
    
    Service container logs:
  • m

    Muhaki

    08/13/2019, 4:57 PM
    Hi guys, is it possible to use Where statement in a query, where one of the arguments depends on the response? Like:
    Copy code
    query {
      items(where: {id_not: valueFromTheItem}){
        id
      }
    }
  • b

    Borja Leiva

    08/13/2019, 9:56 PM
    Hi there, anybody has experience deploying a yoga-server to now? I've read an article in which they say that it's deprecated for now 2 but there must be a way to deploy the server to now...? also, the docs of yoga itself say it should work?
1...299300301...637Latest