https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# prisma-whats-new
  • q

    qsys

    02/21/2018, 10:43 AM
    Right, there's no record at all with that id, and I don't need it, so why is graphcool complaining about it?
  • m

    muhajir

    02/21/2018, 2:21 PM
    Hi there
  • m

    muhajir

    02/21/2018, 2:21 PM
    Is it possible to use prisma with existing data?
  • f

    Fitch

    02/21/2018, 2:30 PM
    Copy code
    graphcool export -t <target> -e data.zip 
    prisma import -d data.zip
  • f

    Fitch

    02/21/2018, 2:30 PM
    or use a database connector and define your datamodel in the schema - https://github.com/graphcool/prisma
    j
    • 2
    • 7
  • m

    miho

    02/21/2018, 2:32 PM
    how to set
    null
    for enum field in @migrationValue ?
    f
    • 2
    • 4
  • n

    niclone

    02/21/2018, 2:44 PM
    Hi, i'm new to graphcool/prisma, trying to make it running, without luke 😞 I tried "prisma init hello-world" with typescript-basic or typescript-advanced, then "yarn dev", but it fail when browser connect on it, with "Duplicate "graphql" modules cannot be used at the same time[...]" message ...
    n
    f
    h
    • 4
    • 21
  • f

    Fitch

    02/21/2018, 2:45 PM
    probably have to blow out your node_modules?
  • n

    niclone

    02/21/2018, 2:45 PM
    i seen this : https://github.com/graphcool/graphql-yoga/issues/162 but prisma-binding is already the latest
  • n

    niclone

    02/21/2018, 2:46 PM
    tried to rm -rf node_modules and yarn again, but same problem
  • d

    Dylan_b

    02/21/2018, 2:51 PM
    I used the auth0 integration with graphcool console, do i need to manually create the user from my app or will it automatically be created via the integration?
  • n

    nampdn

    02/21/2018, 3:01 PM
    Guy, can you help me how to deploy prisma to my ubuntu server?
    f
    • 2
    • 1
  • b

    beb

    02/21/2018, 4:33 PM
    Hey guys, When seeding the database is there a way to identify the ID used in one type so that you can seed a relationship for another type?
  • k

    kitze

    02/21/2018, 4:42 PM
    Hey guys, is there a way to provide an id manually when creating an object? I want to generate it on the frontend because I want it to stay the same both for the optimistic response and the real response. Is this possible?
    m
    l
    v
    • 4
    • 8
  • m

    miho

    02/21/2018, 5:20 PM
    -.txt
  • m

    miho

    02/21/2018, 5:28 PM
    they remember variables from previous extension call ?
    n
    • 2
    • 11
  • k

    ken

    02/21/2018, 6:37 PM
    hey all, i'm trying to create a Post via the following query:
    Copy code
    mutation CreatePost {
      createPost(content:"some content", title:"some title", authorId: "cjdv2rl8tbb9f0197g0o9dtm3") {
        id
        title
        content
      }
    }
    but am getting back an error in the playground:
    Copy code
    ...
    "message": "No CONNECT permissions",
    ...
    I recently changed my permissions from wildcard to the following:
    Copy code
    permissions:
    - operation: User.read
      authenticated: true
    
    - operation: User.create
      authenticated: true
    
    - operation: User.update
      authenticated: true
    
    - operation: User.delete
      authenticated: true
    
    - operation: Post.read
      authenticated: true
    
    - operation: Post.create
      authenticated: true
    
    - operation: Post.update
      authenticated: true
      fields:
        - title
        - content
        - mainImageUrl
      query: ./permissions/updatePost.graphql
    
    - operation: Post.delete
      authenticated: true
    and then the createPost mutation started throwing that error above. anyone know why, or what that even means?
    f
    m
    • 3
    • 5
  • j

    jelder

    02/21/2018, 6:43 PM
    what's a good way to report a bug in the documentation?
    n
    a
    • 3
    • 5
  • l

    leviwhalen

    02/21/2018, 7:10 PM
    Hi guys! having some difficulties getting the setFileInput to work. Should I still interact with a <input type="file"> element before the setFileInput?
  • l

    leviwhalen

    02/21/2018, 7:10 PM
    with a click()
  • h

    horia.ancas

    02/21/2018, 7:31 PM
    hey guys, I have what is basically a nested data structure that I would like to represent normalised. This is why I’d like to create a relationship between two fields in the same type. Let me know if this is doable or if there’s any alternative approach
    Copy code
    type Sample {
      id: ID! @unique
      graph: Graph!
      content: String!
      parent: Sample! @relation(name: "IsThisCrazy")
      children: [Sample!]! @relation(name: "IsThisCrazy")
    }
    r
    • 2
    • 33
  • r

    Ramsay Lanier

    02/21/2018, 7:39 PM
    hey gang, after updating to graphql-yoga 1.3.3 and prisma 1.2.5, I’m getting some inconsistencies between what the application query returns and the db query returns
    n
    • 2
    • 5
  • r

    Ramsay Lanier

    02/21/2018, 7:40 PM
    Here’s the application query. Notice that the first rule with ruleText of “16” exists
  • r

    Ramsay Lanier

    02/21/2018, 7:41 PM
    Same query ran on the db, ruleText with “16” isn’t there because I deleted it on the client
  • r

    Ramsay Lanier

    02/21/2018, 7:41 PM
    basically in my add I deleted rule 16, but it still shows up in the application
  • r

    Ramsay Lanier

    02/21/2018, 7:42 PM
    server_deps.txt
  • b

    bradrich

    02/21/2018, 8:11 PM
    I apologize if this has already been covered, but can someone please help me find a good example of Prisma, Apollo for Angular file upload?
    f
    n
    • 3
    • 7
  • j

    jelder

    02/21/2018, 8:54 PM
    is there a commercial entity behind Prisma?
    h
    n
    • 3
    • 4
  • m

    medelman

    02/21/2018, 9:34 PM
    Hi. I have prisma deployed on google kubernetes engine. All was going fine until I started modifying object structure (e.g., removing fields, changing constraints, etc.). Now my pod keeps throwing java.sql.SQLSyntaxErrorExceptions and the service is completely unusable.
    a
    f
    • 3
    • 9
  • j

    joshjoe

    02/21/2018, 10:47 PM
    Anyone used prisma from an existing React app? I have a great React template that I just need a backend to go with
1...582583584...637Latest