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

    user

    11/02/2017, 10:00 PM
    @Pedro Jardim commented on @Pieter’s file

    https://prisma.slack.com/files/U5LSV72N9/F7TEJL5RN/pasted_image_at_2017_11_02_08_36_pm.png▾

    : I`m having the same issue.
  • p

    Pieter

    11/02/2017, 10:12 PM
    @Pedro Jardim I eventually got it working. It was the fact that I was deleting a node and then in my subscription trying to access the id of the deleted property but it would be null at that point so need to use PreviousValues instead of node. If I could expand that error message I would have known that, as it was saying it right there. I ended up inspecting the element of the error message just so that I can read the whole thing
  • p

    Pedro Jardim

    11/02/2017, 10:30 PM
    @Pieter my problem is that I cant see the logs as the Image shows.
  • p

    Pedro Jardim

    11/02/2017, 10:38 PM
    I cant see any logs, from any function that I have in my project. No only errors, normal logs also have the same behavior.
  • p

    Pieter

    11/02/2017, 10:47 PM
    @Pedro Jardim yes I know what you saying. Like I said, the solution for me was to inspect the element containing the log. It's all in the html. its just hidden via css
  • j

    joar

    11/02/2017, 10:51 PM
    I’m getting
    You can only create scalar fields and '<FieldName>' is not a scalar value. Did you intend to create a relation?
    when I’m creating relations. Specifically it happens when I’m setting a relation like this:
    Copy code
    type FirstType {
      seconds: SecondType @relation(name: "TypeRelation")
    }
    
    type SecondType {
      firsts: [FirstType!]! @relation(name: "TypeRelation")
    }
    a
    • 2
    • 14
  • j

    joar

    11/02/2017, 10:52 PM
    Actually this is probably better as an issue on github
  • z

    zcaudate

    11/02/2017, 11:08 PM
    @agartha: one more newbie question. is there a way to create a local instance for offline development?
    k
    a
    +2
    • 5
    • 24
  • m

    Michael Jones

    11/02/2017, 11:11 PM
    Looking at the Graphcool website under the Cloud page (https://www.graph.cool/cloud/), there is a picture displayed of an epic looking dashboard. Does anyone know if it is still in development, or is there a way to upgrade to it? Thank you
    a
    • 2
    • 2
  • m

    mikedklein

    11/03/2017, 1:59 AM
    Anyone having trouble logging in right now? My auth is just hanging.
  • m

    munaiyi

    11/03/2017, 2:14 AM
    chromeless
    🦜 1
  • z

    zcaudate

    11/03/2017, 6:34 AM
    a couple more questions as I want to understand - with webhooks and resolvers can external libraries be imported: - ie. if we wanted to call on an external library before adding an entry into the database, how can this be supported? - has anyone tried to run graph.cool on custom servers? (not that I want to at this stage) - would permissions be needed to be built into the resolvers themselves?
  • z

    zcaudate

    11/03/2017, 6:34 AM
    oh. I just saw the header
  • i

    idkjsx

    11/03/2017, 8:33 AM
    Question @graphcool. I have an existing mongodb instance with data in it. Is it possible to use this mongodb datastore with graphcool or graphcool framework?
  • v

    Vinnie

    11/03/2017, 8:59 AM
    Hi everybody. Just recently got into graph.cool and am looking to understand a few things.
  • v

    Vinnie

    11/03/2017, 8:59 AM
    Who's got times on their hands to answer a couple of simple questions? 🙂
  • r

    rhishikeshj

    11/03/2017, 9:01 AM
    hey @Vinnie welcome ! 🙂 go ahead with your questions. I ll try answer as much as I can 🙂
  • r

    rhishikeshj

    11/03/2017, 9:01 AM
    or atleast push you in the right direction
  • v

    Vinnie

    11/03/2017, 9:01 AM
    Thanks @rhishikeshj 🙂
  • v

    Vinnie

    11/03/2017, 9:05 AM
    One question is: do graph.cool offer multiple environments for the same project? as in “test” and “live” for example
  • v

    Vinnie

    11/03/2017, 9:06 AM
    I am thinking about integration with a CI and testing new APIs still in developmen t
  • v

    Vinnie

    11/03/2017, 9:06 AM
    which of course I don’t want to test against production 🙂
  • v

    Vinnie

    11/03/2017, 9:07 AM
    I couldn’t figure it out, but I have only just started using it a few days ago on a free account
  • r

    rhishikeshj

    11/03/2017, 9:10 AM
    @Vinnie there is this : https://graph-cool.netlify.com/docs/tutorials/cli-multi-staging-workflow-ex4wo4zaep/
    n
    n
    +2
    • 5
    • 10
  • r

    rhishikeshj

    11/03/2017, 9:10 AM
    hopefully this is what you are looking for
  • r

    rhishikeshj

    11/03/2017, 9:10 AM
    i couldnt find the equivalent in the console UI though
  • v

    Vinnie

    11/03/2017, 9:28 AM
    I’ll have a look at that, thanks @rhishikeshj
    n
    • 2
    • 4
  • v

    Vinnie

    11/03/2017, 9:29 AM
    In terms of unit testing, anyone doing that? If so, any best practice to suggest?
  • v

    Vinnie

    11/03/2017, 11:14 AM
    Anyone on unit testing?
  • d

    Davide

    11/03/2017, 11:18 AM
    Hello @Vinnie (Italian?) , If you mean unit testing "functions" , we do that with usual js unit testing frameworks.
1...407408409...637Latest