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

    samba

    11/18/2018, 5:59 PM
    this is on the generated client.
  • s

    samba

    11/18/2018, 6:02 PM
    another error :
    while performing a mutation
    getting this
    Copy code
    { Error: Variable '$data' expected value of type 'UserCreateInput!' but got: {"name":"Alice"}. Reason: 'password' Expected non-null value, found null. (line 1, column 11):
    mutation ($data: UserCreateInput!) {
              ^
        at BatchedGraphQLClient.<anonymous> (PROJECT_PATH/node_modules/http-link-dataloader/src/BatchedGraphQLClient.ts:74:13)
        at step (PROJECT_PATH/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
        at Object.next PROJECT_PATH/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
        at fulfilled (PROJECT_PATH/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
        at process._tickCallback (internal/process/next_tick.js:68:7) result: { data: null, errors: [ [Object] ], status: 200 } }
  • s

    samba

    11/18/2018, 6:14 PM
    and when trying the setup with a new database… with the docker-compose on following page with any node version getting this error: https://www.prisma.io/docs/get-started/01-setting-up-prisma-new-database-TYPESCRIPT-t002/ `on database container`:
    Copy code
    Access denied for user 'root'@'172.22.0.3' (using password: YES)
    `on prisma container`:
    Copy code
    prisma_1  | Exception in thread "main" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5001ms.
    prisma_1  | 	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:548)
    prisma_1  | 	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:186)
    prisma_1  | 	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
    prisma_1  | 	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)
    prisma_1  | 	at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:14)
    prisma_1  | 	at slick.jdbc.JdbcBackend$BaseSession.<init>(JdbcBackend.scala:453)
    prisma_1  | 	at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:46)
    prisma_1  | 	at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:37)
    prisma_1  | 	at slick.basic.BasicBackend$DatabaseDef.acquireSession(BasicBackend.scala:249)
    prisma_1  | 	at slick.basic.BasicBackend$DatabaseDef.acquireSession$(BasicBackend.scala:248)
    prisma_1  | 	at slick.jdbc.JdbcBackend$DatabaseDef.acquireSession(JdbcBackend.scala:37)
    prisma_1  | 	at slick.basic.BasicBackend$DatabaseDef$$anon$2.run(BasicBackend.scala:274)
    prisma_1  | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    prisma_1  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    prisma_1  | 	at java.lang.Thread.run(Thread.java:748)
    h
    • 2
    • 6
  • h

    Hansel

    11/18/2018, 9:07 PM
    Hello everyone, does prisma currently support MongoDB?
    a
    h
    +2
    • 5
    • 8
  • v

    vdiaz1130

    11/18/2018, 9:37 PM
    When using
    graphqlgen
    All my mutation resolvers are in one file. Is there a clean way to load these from a separate file? Same for queries.
    h
    • 2
    • 1
  • r

    raxosiris

    11/18/2018, 11:24 PM
    Is anyone working on (or interested in working on) the Dgraph connector?
    s
    • 2
    • 1
  • n

    Nguyen Van Quang

    11/19/2018, 2:24 AM
    hi all, i have an issues when use apolo client
  • n

    Nguyen Van Quang

    11/19/2018, 2:24 AM
    Invariant Violation: The operation 'findFriend' wrapping 'Connect(Apollo(Groups))' is expecting a variable: 'username' but it was not found in the props passed to 'Apollo(Connect(Apollo(Groups)))'
  • n

    Nguyen Van Quang

    11/19/2018, 2:24 AM
    m
    • 2
    • 1
  • n

    Nguyen Van Quang

    11/19/2018, 2:24 AM
  • n

    Nguyen Van Quang

    11/19/2018, 2:24 AM
    please check help me
  • n

    Nguyen Van Quang

    11/19/2018, 2:25 AM
  • t

    TGNThump

    11/19/2018, 12:29 PM
    Is there any academic literature on Prisma?
    h
    • 2
    • 3
  • m

    Max

    11/19/2018, 1:10 PM
    Hi, I'm Max Goodman. I'm a Flatiron School grad. I just completed the full stack tutorial on howtographql.com with React + Apollo + GraphQL + React for the HackerNews Clone. Happy to be here with other GraphQL enthusiasts. Thanks for everyone who contributed to the tutorial. It's one of the best documentations I've read so far!
    👋 6
    🙌 9
    🦜 4
    🎉 7
    👍 3
    d
    • 2
    • 3
  • d

    daniel_simao

    11/19/2018, 2:21 PM
    Hi, I'm facing this problem on my hook post-deploy when I deploy prisma. I'm be trying to figure a way around this for several hours now...please can somebody help me?
    • 1
    • 2
  • t

    tylim

    11/19/2018, 2:32 PM
    hello guys, is here a suitable place to ask question about graphhql-yoga?
    r
    • 2
    • 2
  • k

    Kelly

    11/19/2018, 3:44 PM
    Hey all. I completed a bunch of the tutorials on how to graph ql, but I'm really struggling to make progress on my own projects. I just can't work out what the error messages mean in relation to what I've done in the tutorials. Anyone willing to help out a newb?
    r
    n
    • 3
    • 7
  • k

    Kelly

    11/19/2018, 4:15 PM
    I deleted my "src/generated/prisma.graphql". Prisma deploy doesn't create it again. Any way to recreate it?
    n
    • 2
    • 3
  • f

    fgreinus

    11/19/2018, 4:17 PM
    prisma generate
    👍 1
    k
    • 2
    • 3
  • b

    bjulia

    11/19/2018, 4:38 PM
    Hi everyone, I’m a beginner on graphcool and i would like to know if there is a way to use a nodejs dependency which required nodejs >= 8 in custom resolver ?
  • a

    artindaniel

    11/19/2018, 4:56 PM
    Hey all, how do I update the field
    skills
    in
    User
    without having
    Skill
    orphan nodes afterwards? I don't want to specfiy a relation for every type where
    Skill
    is used. I basically want to replace the old entries by the new ones.
    Copy code
    type User {
    	skills: [Skill!]!
    }
    
    type Skill {
    	...
    }
  • a

    Alex

    11/19/2018, 8:53 PM
    does prisma server have the concept of a workspace or is that something I would have to wrap around my services?
    a
    • 2
    • 3
  • e

    Errorname

    11/19/2018, 9:19 PM
    Hey there! I think this issue for
    prisma-binding
    should be re-opened as it isn't solved yet: https://github.com/prisma/prisma-binding/issues/81
  • c

    chuksfestus

    11/19/2018, 9:26 PM
    Hello all, so i have an app that uses firebase for mostly auth and real time db and i was thinking of moving to graphql, does prisma handle things like real time db? and also other things firebase offers
    l
    m
    • 3
    • 11
  • e

    ed

    11/19/2018, 10:42 PM
    is graphcool down?
  • k

    Kevin S

    11/19/2018, 10:44 PM
    ^ Yeah, I also came here to ask that.
  • k

    Kevin S

    11/19/2018, 10:45 PM
    My apps are getting tons of 504 "undefined" errors, and the console isn't loading
  • k

    Kevin S

    11/19/2018, 10:48 PM
    I'm paying for GraphCool Cloud, and can't find any way to contact support (outside of the console, which isn't loading)
  • k

    Kevin S

    11/19/2018, 10:49 PM
    .... aaand its back up. At least the downtime was minimal.
  • s

    sorenbs

    11/19/2018, 10:50 PM
    We are looking into issues with graphcool. Thanks for reporting @ed and @Kevin S!
    • 1
    • 1
1...160161162...637Latest