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

    nilan

    10/16/2017, 5:07 PM
    sorry for the confusing state of the docs/resources, we'll get that sorted out this week šŸ™‚
  • c

    Cipri

    10/16/2017, 5:08 PM
    Ok... so you recommend us to upgrade to v2, without the GUI interface, right?
    n
    • 2
    • 6
  • a

    amann

    10/16/2017, 5:17 PM
    Trying to get graphcool + docker working on windows but running into this issue after running
    graphcool local up
    n
    d
    • 3
    • 6
  • a

    amann

    10/16/2017, 5:18 PM
    -.sh
  • p

    Pieter

    10/16/2017, 5:33 PM
    I am trying to use smartcropjs with my graphcool and react-apollo app but I can't seem to get it right. I tried running it in the browser, but I cant find the image element inside react as it doesnt have a
    ref
    and its a child inside a 3rd party library (react dropzone). smartcropjs can be used in nodejs with gm so I was thinking of just doing it in a webtask or graphcool function, but not sure if it has gm installed
  • n

    nilan

    10/16/2017, 5:36 PM
    graphcool function, but not sure if it has gm installed
    all (fully JS) node modules are expected to work
  • m

    mwickett

    10/16/2017, 5:45 PM
    Can someone clarify that we can use
    async/await
    in graphcool functions now, even though they are running in Node v6 ?
    n
    • 2
    • 2
  • k

    kratam

    10/16/2017, 5:51 PM
    Maybe a noob question, but how can I debug a function in a service? The logs doesn't show
    console.log
    outputs
    a
    n
    • 3
    • 5
  • r

    rein

    10/16/2017, 5:56 PM
    is there anyone who has an example of uploading a photo and linking it to an item in the db via mutation?
    a
    • 2
    • 22
  • b

    bttf

    10/16/2017, 6:51 PM
    has anyone some insight on how I could set an 'admin' permission on types/fields so that a single, static user can query/mutate all of them?
    n
    • 2
    • 2
  • j

    jamesmbowler

    10/16/2017, 6:57 PM
    I'm attempting to do the "hello world" here: https://github.com/howtographql/react-relay . I ran the init script and got the error that models User, Link, and Vote were missing the "@model" directive. So, I added the "@model" to the local schema, and re-ran. Now, it says only the "User" model is missing the "@model" directive, which is progress, I suppose. But, I'm stuck here.
  • m

    mwickett

    10/16/2017, 7:19 PM
    With the new framework, I’m confused about root tokens - do I still need to specify the name of each of my functions that need a token under
    rootTokens:
    in
    graphcool.yml
    ?
    n
    • 2
    • 1
  • p

    Pedro Jardim

    10/16/2017, 7:53 PM
    Hi guys, I have a query about a Subscription behaviour. My app is using React-native, apollo-client, Expo and the GraphCool. It's a chat messege app. So, to get my chat feed updated I'm using the subscription, and I'm getting a strange behaviour from it. When a Message is created at GraphCool the subscription should get the new message and update my feed. But the behavier that is happeing is this one: An action creates 4 messages and my subscription do not get all the messages, it gets like this: message 1, message 2 and message 4. Other times message 1 and 2. And some times no message came. The messages are created at GraphCool. Did you guys have any clue why is this happening?
    āœ… 1
    n
    • 2
    • 17
  • l

    lastmjs

    10/16/2017, 7:54 PM
    Does graph.cool use akka on the backend? I'm just trying to find out if this message is coming from AWS or graph.cool's servers (I'm doing some proxying with API Gateway):
    Copy code
    The request content was malformed:
    application/x-www-form-urlencoded (of class akka.http.scaladsl.model.ContentType$WithMissingCharset)
    n
    • 2
    • 2
  • r

    rein

    10/16/2017, 8:13 PM
    if linking a post to an image uploaded to graphcool, is it better to store the URI on the post or really link the image file
    h
    • 2
    • 7
  • j

    jacortesmahmud

    10/16/2017, 8:21 PM
    hi everyone, I wanted to know why am I getting this error now when I run
    Copy code
    graphcool diff
    Copy code
    graphcool diff
    Getting diff for cj8p0bbro002h01591gyfmesw with target default.... āœ”
    
    ERROR: GraphQL Error (Code: 502)
    
    {
      "error": "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n</body>\r\n</html>\r\n",
      "status": 502
    }
  • m

    mwickett

    10/16/2017, 8:21 PM
    @jacortesmahmud Try it again.
  • m

    mwickett

    10/16/2017, 8:21 PM
    I just got that while doing a deploy, and tried again and it worked.
  • j

    jacortesmahmud

    10/16/2017, 8:22 PM
    ok now my error has changed to:
    Copy code
    ERROR: The schema is invalid: Invalid field type definition detected. Valid field type formats: Int, Int!, [Int!], [Int!]! for example.
    
    {
      "data": {
        "push": null
      },
      "errors": [
        {
          "locations": [
            {
              "line": 2,
              "column": 9
            }
          ],
          "path": [
            "push"
          ],
          "code": 2040,
          "message": "The schema is invalid: Invalid field type definition detected. Valid field type formats: Int, Int!, [Int!], [Int!]! for example.",
          "requestId": "eu-west-1:system:cj8umixfl00000124zot7vg7a"
        }
      ],
      "status": 200
    }
    
    Get in touch if you need help: <https://www.graph.cool/forum>
    To get more detailed output, run $ export DEBUG="*"
  • a

    agartha

    10/16/2017, 8:23 PM
    That error is usually an indication of a duplicate Type name (maybe in your resolver functions)
  • j

    jacortesmahmud

    10/16/2017, 8:23 PM
    I don't know why, my schema seems to be fine at https://github.com/jcortes/api-hotels/blob/master/types.graphql
    n
    • 2
    • 4
  • l

    lifeiscontent

    10/16/2017, 8:40 PM
    hi, I’m trying to use the facebook template and for some reason I’m getting an error in react-native. Is someone around to help out?
    n
    • 2
    • 4
  • r

    rein

    10/16/2017, 9:13 PM
    is there a way to directly access the result of a mutation?
    h
    m
    • 3
    • 7
  • l

    lowip

    10/16/2017, 9:55 PM
    Hi, is there a way to import 10.000's of records in GraphCool without using too many of the default 100.000 free requests. Smth like a
    batchCreateX
    ?
    a
    n
    • 3
    • 3
  • n

    nilan

    10/16/2017, 10:07 PM
    @eliezedeck I'm sorry I did not understand your situation unfortunately. please do elaborate.
  • l

    lastmjs

    10/16/2017, 10:16 PM
    Just to get this straight, on the latest graphcool@next, to use TypeScript for my functions, do I have to do anything special? Or do I just write a
    .ts
    file and push it up?
    n
    • 2
    • 11
  • r

    rwatts3

    10/16/2017, 11:09 PM
    anyone else having issues on windows 7 using docker toolbox
  • r

    rwatts3

    10/16/2017, 11:10 PM
    running
    gc local up
    the cluster is not added to the global
    .graphcoolrc
    file and therefore running
    gc deploy
    fails
  • r

    rwatts3

    10/16/2017, 11:11 PM
    i am attempting to manually register the cluster by adding the local cluster to the .graphcoolrc file, however I have no way if finding what the clusterSecret is for the local cluster
  • a

    Anthony Lassiter

    10/16/2017, 11:41 PM
    Hello, I tried to go back and find any reference to this, but couldn't I'm using graphcool 1.3.7 and
    graphcool init
    complains about requiring @model on a
    User
    model?
    a
    • 2
    • 7
1...376377378...637Latest