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

    Orinami

    01/19/2018, 8:44 AM
    Hi, I've got this error
  • o

    Orinami

    01/19/2018, 8:44 AM
    path": [ "authenticateUser" ], "code": 2063, "message": "The payloadType for the resolver
    authenticate
    is not nullable, but the resolver returned null.", "requestId": "eu-west-1simplecjcln7b3qg79e012803k0thn7" }
  • o

    Orinami

    01/19/2018, 8:45 AM
    does anybody have an idea of how to fix this. I'm using auth0 for authentication
  • m

    Moritz

    01/19/2018, 8:46 AM
    deploying_to_the_prisma_cloud_give_an_error_as_well_.txt
    ✅ 1
  • m

    Moritz

    01/19/2018, 8:46 AM
    I am assuming that the services are currently down
  • e

    Emi

    01/19/2018, 8:47 AM
    I'm a bit confused. Should we write ourselfs the resolvers with prisma? Like in this boilerplate: https://github.com/graphql-boilerplates/node-graphql-server/blob/master/basic/src/index.js
    k
    m
    • 3
    • 3
  • k

    kitze

    01/19/2018, 9:17 AM
    Anyone else had this error when trying
    prisma local start
    ?
    Copy code
    Creating local_prisma-database_1 ... done
     ▸    (89d5fa22c740b0c42e5ebc2f57622256a14e35aabef3027b0b9a33b5d92a6508): Error starting userland proxy: Bind for 0.0.0.0:3306 failed: port is already allocated
    I have tried all the fixes here: https://github.com/docker/for-mac/issues/205 I have tried resetting docker to factory defaults. I completely uninstalled docker, cleaned all the remaining data on the machine, installed it from scratch. I’m getting the error again. Halp 🙏
    ✅ 1
    n
    m
    • 3
    • 21
  • p

    P_loringhoven

    01/19/2018, 9:27 AM
    @nilan I somehow now feel lost around GraphCool / Prisma and the managed GraphQL hosting Backend. Where / How / What do i need to update / change?
    n
    t
    t
    • 4
    • 7
  • m

    Moritz

    01/19/2018, 10:10 AM
    just went through https://www.prismagraphql.com/docs/tutorials/cluster-deployment/local-(docker)-meemaesh3k,
    t
    n
    • 3
    • 3
  • m

    Moritz

    01/19/2018, 10:12 AM
    -.txt
  • f

    fabien0102

    01/19/2018, 10:28 AM
    Hello everybody, I'm trying to find a pretty way to have a versioning system on my
    graphcool-framework
    stack and would have to your ideas for this. My best idea for instant is to have a clone of each model (call
    ${myModel}History
    for example) with a relation to the up to date model (
    history: [myModelHistory!]!
    to have an easy way to retrieve the history of each data). In my case, I want to have a hook to deal with
    ${myModel}History
    creation on each update (so I need the previous version of my data). If I'm referring to the doc, I can't use Subscription function (it's execute after the mutation), so my question is "can I do this history processing in a hook function?" or if you have a better idea for this use case ^^
  • t

    telmo

    01/19/2018, 11:39 AM
    morning all 👋
  • t

    telmo

    01/19/2018, 11:40 AM
    can someone help me with a relation mutation please?
  • u

    user

    01/19/2018, 11:53 AM
    @sdubois commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : you can check these issues for some context but I don't think there's been a full resolution for this so far. Would love to see a working example as well. https://github.com/graphcool/prisma/issues/93 https://github.com/graphcool/prisma/issues/107
  • u

    user

    01/19/2018, 11:53 AM
    @sdubois commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : What kind of nutrition is the app about if I may ask?
  • t

    telmo

    01/19/2018, 11:55 AM
    if I have this
  • t

    telmo

    01/19/2018, 11:55 AM
    Copy code
    type User {
      id: ID! @unique
      email: String! @unique
      password: String!
      name: String!
      campaigns: [Campaign!]! @relation(name: "UserOnCampaign")
    }
    
    type Campaign {
      id: ID! @unique
      name: String!
      year: String!
      archived: Boolean
      author: User! @relation(name: "UserOnCampaign")
    }
  • u

    user

    01/19/2018, 11:56 AM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : www.baze.com ;) Thx for your answer, I check this after lunch
  • t

    telmo

    01/19/2018, 11:56 AM
    how do I build the mutation ?
  • t

    telmo

    01/19/2018, 11:56 AM
    Copy code
    createCampaign(name: String!, year: String!, archived: Boolean, author: ...): Campaign
    h
    i
    • 3
    • 13
  • u

    user

    01/19/2018, 11:56 AM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : But I want to avoid prisma on this project to have the less servers as possible to managed ^^
  • u

    user

    01/19/2018, 11:58 AM
    @sdubois commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : interesting, it looks a bit like Naveen Jain's viome.com. I still think that whole foods are a better solution in general for nutrient delivery than supplements though. Just a personal opinion 😉
  • u

    user

    01/19/2018, 11:58 AM
    @sdubois commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : agreed, eagerly waiting for graphcool-framework to get updated with all the cool new stuff
  • t

    telmo

    01/19/2018, 12:05 PM
    anyone ?
  • u

    user

    01/19/2018, 12:06 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : I will do some POC with my idea, maybe it’s works ^^ Thx for every links :) I can give you an update if my solution is working ;)
  • d

    drdaz

    01/19/2018, 12:08 PM
    Will the graphcool framework also be open-sourced? Or is it some sort of value-add for the paid service?
    n
    • 2
    • 5
  • t

    telmo

    01/19/2018, 12:14 PM
    if someone can help me I would appreciate it
  • d

    drdaz

    01/19/2018, 12:16 PM
    I just tried deploying the boilerplate react-fullstack-basic to now; I get the UI but it doesn't seem as though it's hitting any backend. Is this expected? (Sorry if this is a daft question, I'm not usually a web dev). It looks as though the web app is trying to hit localhost:4000, which I'm guessing won't work in now's environment... but I'm not sure how to hit the right endpoint, or indeed if now actually starts the prisma / graphql backend.
  • u

    user

    01/19/2018, 1:30 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : @sdubois https://github.com/fabien0102/gcf-versionning-poc I have a poc !
  • u

    user

    01/19/2018, 1:32 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Just need to add
    createdAd
    and
    createdBy
    following the issues you give to me, and it's perfect 😛 (and maybe find a way to do this less verbose ^^)
1...527528529...637Latest