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

    rawriclark

    02/13/2019, 9:23 AM
    I can't seem to connect prisma to mysql with ssl enabled
    h
    • 2
    • 6
  • r

    rawriclark

    02/13/2019, 9:23 AM
    does anyone know how todo that?
  • r

    rawriclark

    02/13/2019, 9:23 AM
    I already added
    ssl: true
  • o

    Onotoko

    02/13/2019, 9:42 AM
    Hey,
  • o

    Onotoko

    02/13/2019, 9:42 AM
    Have you know how to build an api gateway for graphql like graphcool architecture?
    h
    • 2
    • 2
  • j

    Jonty Coertzen

    02/13/2019, 3:20 PM
    Hey everyone 🙂 does anyone have experience with Prisma with Graphql/Apollo server on Kubernetes? Need some help
    h
    • 2
    • 4
  • c

    chas13

    02/13/2019, 5:03 PM
    hi all , when I do "prisma deploy " it tells me that the service is already up to date if I do "prisma list" it tells no deployed services? I am trying to test if everything works, If i go to localhost:4466 I get internal error - server connection terminated ( is this normal? ) - I am trying to open a playground with prisma playground --web but when i follow the link I also get time out.. 😞
  • c

    chas13

    02/13/2019, 5:11 PM
    If this is running on a remote server should I leave localhost:4446 or is it ok to change to domainame:4446 ?
    h
    • 2
    • 12
  • j

    Jonty Coertzen

    02/13/2019, 5:53 PM
    @Harshit is the BEST!
    🙌 7
  • l

    Luca

    02/13/2019, 5:58 PM
    @Harshit any news about https://github.com/prisma/prisma/issues/4029? I think this is a pretty important issue, especially because it seems that some unnecessary queries are sent
    h
    • 2
    • 8
  • m

    Matthew Frey

    02/13/2019, 8:18 PM
    Could I bug someone to please take a look at my PR for this issue? https://github.com/prisma/graphql-playground/issues/959
    h
    h
    • 3
    • 3
  • m

    Mike Bowen

    02/13/2019, 8:25 PM
    if I have a datamodel as such:
    Copy code
    js
    type Club {
        id: ID! @unique
        createdAt: DateTime!
        name: String!
        description: String!
        members: [User!]!
    }
    
    type User {
        id: ID! @unique
        firstName: String!
        lastName: String!
        email: String! @unique
        clubs: [Club!]!
        password: String!
    }
    where there's a relationship between Users and Clubs (Clubs can have many
    members
    (Users) and Users can belong to many
    clubs
    ) I'd like to make a mutation that adds an existing
    User
    to an existing
    Club
    . This is what I have, and it's not working:
    Copy code
    js
    async function addUserToClub(parent, args, context, info) {
          console.log('connecting user with id: ' + args.id);
          console.log('to: ' + args.clubid);
          const user = context.prisma.updateUser({
              data: {
                  clubs: {
                    connect: [
                        {
                            id: args.clubid
                        }
                    ]   
                  }
              },
              where: {
                  id: args.id
              }
          })
    
          return user;
      }
    • 1
    • 4
  • j

    John Bendfeldt

    02/13/2019, 8:31 PM
    Whenever I try to login to my app dashboard it fails and this error goes in the console. I also can't reset my password or sign in with github because of this. Is this something on my end going wrong?
    j
    j
    • 3
    • 6
  • i

    impowski

    02/13/2019, 8:41 PM
    Hey guys, can I subscribe to mutations outside of Prisma resolver?
    h
    • 2
    • 2
  • a

    Austin

    02/13/2019, 11:18 PM
    If anyone has a chance to look at this issue, I'd be very grateful (even willing to pay for a resolution): https://www.prisma.io/forum/t/type-resolvers-issue/6009
    b
    • 2
    • 1
  • a

    ahebwa49

    02/14/2019, 9:39 AM
    Hello to y'all. I successfully set up the prisma server for developing locally on my computer according to the "Local Prisma Setup" on the Prisma website. I can can perform a basic query and mutation and my data is persisted in the postgres database running in a docker container. However, once I connect to the database server as a prisma user, I don't see the data I'm persisting anywhere. I've searched all databases on the server but I can't seem to find the data. Any ideas on how to retrieve or see this data on the terminal? I really need a solution for this issue. If you have an idea, kindly assist. @Harshit
    h
    • 2
    • 7
  • a

    ahebwa49

    02/14/2019, 10:08 AM
    @Harshit
    h
    • 2
    • 5
  • m

    MartĂ­ CrespĂ­

    02/14/2019, 11:08 AM
    Is there any way to declare enum types on prisma cli without build any app(only using the cli)? I have string fields in postgresql but I would like to know if it's possible to expose these strings as enum values.
    h
    • 2
    • 5
  • a

    ahebwa49

    02/14/2019, 11:09 AM
    Connected to the prisma database with prisma user but the select statements won't retrieve the data in there. Anyone with an idea on how to go about it? I'm using postgres 10.5 with container(docker) @Harshit
    h
    m
    • 3
    • 26
  • m

    MartĂ­ CrespĂ­

    02/14/2019, 1:34 PM
    Is possible to obtain the schema.graphql with prisma from the database? Like
    prisma introspect
    but not generating datamodel.prisma, generating the SDL schema.
    j
    h
    • 3
    • 16
  • m

    michael.glitzos

    02/14/2019, 1:39 PM
    Anyone attempted running Prisma in an airgapped environment?
    h
    • 2
    • 5
  • m

    michael.glitzos

    02/14/2019, 1:39 PM
    How would a non-internet connected set-up work?
  • g

    Gaurav

    02/14/2019, 3:44 PM
    Hello all, started with
    graphql-shield
    , offloading my stupid queries here, please help, if you could: 1. How do I ensure that an authorized user is deleting say, wishlisht of its own? (Right now, I am using $exists from prisma client in resolvers to check if the user has that item (with isAuthenticated and isUser shield rules middleware) then only allow deletion). Should this constraint be somehow placed in the shield rule? 2. What are fragments in shield? Are they the one to use when I have to constraint some fields of a type to be public, and some to be authorized (but these could be achieved with field level rule defs, couldnt they?) Thanks :)
    h
    • 2
    • 2
  • j

    joan

    02/14/2019, 4:14 PM
    how can I store
    html
    data in prisma?
    d
    h
    • 3
    • 3
  • b

    Brian

    02/14/2019, 4:23 PM
    Anyone else experiencing issues logging into the Prisma dashboard?
    ➕ 1
    j
    j
    • 3
    • 4
  • s

    ScottAgirs

    02/14/2019, 5:00 PM
    My app is not loading either
  • s

    ScottAgirs

    02/14/2019, 5:01 PM
    @Prisma Community what’s happening? We want an official announcement! 🙂
    d
    • 2
    • 1
  • v

    vjsingh

    02/14/2019, 5:28 PM
    How do you update all nodes? i.e. how do you specify an empty where clause in something like updateUsers?
  • j

    jack

    02/14/2019, 6:00 PM
    Hi, yeah I'm having the same issue,
  • j

    jack

    02/14/2019, 6:00 PM
    d
    • 2
    • 1
1...209210211...637Latest