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

    daniele

    11/24/2017, 3:26 PM
    guys is the local playground do you have the permission icon? ( the key on the right side)
    n
    • 2
    • 3
  • i

    iamclaytonray

    11/24/2017, 3:35 PM
    How would I access my functions `console.log()`s in local?
    n
    d
    • 3
    • 16
  • e

    ed

    11/24/2017, 4:17 PM
    Hi guys, I am wondering to switch my graphql backend API to graphcool. I read it is backed by an AWS aurora db, however I wonder if graphcool gives us access to the db directly or we just have to use it through the graphql/graphcool models? thanks in advance
    šŸ‘† 1
    f
    • 2
    • 1
  • i

    iamclaytonray

    11/24/2017, 4:58 PM
    Is anyone experiencing long bundle/build times with local?
  • i

    iamclaytonray

    11/24/2017, 4:58 PM
    And timeouts with the local playground?
    n
    • 2
    • 3
  • i

    iamclaytonray

    11/24/2017, 5:12 PM
    Anyone?
  • k

    Kat

    11/24/2017, 7:46 PM
    Hey does anyone know if file upload support is available with local deployment? šŸ™‚
  • t

    thiago.leite

    11/24/2017, 8:44 PM
    Hi guys. Is graphcool framework servless already being used by companies in production? Is his performance satisfactory?
  • i

    iamclaytonray

    11/24/2017, 9:32 PM
    If anyone would like to vote:
  • i

    iamclaytonray

    11/24/2017, 9:32 PM
    https://github.com/graphcool/templates/issues/134
  • p

    pcooney10

    11/24/2017, 9:57 PM
    Is the new
    connect
    field for nested mutations currently supported? https://github.com/graphcool/framework/issues/1280
    i
    • 2
    • 7
  • a

    aloof_ruf

    11/24/2017, 10:17 PM
    Quick question: I notice there is mention of Sangria on the Graphcool github home page, is Graphcool built on top of Sangria?
    d
    i
    • 3
    • 4
  • s

    sebastien

    11/24/2017, 11:43 PM
    Hey guys. I’m struggling with defining permission queries for relations. For example, I have a relation called
    JournalEntryOnFile
    where there’s a one to one relation between a journal entry and a file upload. I’m trying to find some good code examples to see what I’m doing wrong, but struggling to find some good examples of permission queries for relations. I’ve tried many variations similar to this:
    Copy code
    query($journalEntry_id: ID!, $fileFile_id: ID!) {
      SomeFileExists(
        filter: { AND: [{ id: $fileFile_id }, { journalEntry: $journalEntry_id }] }
      )
    }
    I’m getting errors like
    '$journalEntry_id' of type 'ID!' used in position expecting type 'JournalEntryFilter'
    What I want to do is limit connections and disconnections to that relation to the owner of the
    JournalEntry
    node, which is called
    user
    . It’s a pretty simple use-case and I’m sure that it’s just me doing something silly with that query, so any pointer would be super appreciated.
    a
    • 2
    • 8
  • v

    Vinnie

    11/25/2017, 12:43 AM
    Hi all — anyone developing/using graphcool on a Mac?
  • a

    agartha

    11/25/2017, 12:43 AM
    Most of Graphcool, if I'm not mistaken
  • v

    Vinnie

    11/25/2017, 12:44 AM
    I see
  • v

    Vinnie

    11/25/2017, 12:44 AM
    likely they’re not around these hours, might need to take this up with them tomorrow
  • a

    agartha

    11/25/2017, 12:44 AM
    What's the issue?
  • v

    Vinnie

    11/25/2017, 12:44 AM
    Copy code
    gc local up 
     ā–ø    Could not find cluster local defined for target loc in /Users/vincenzo/Drive/Vagrant/zoo/data/graphcool/cms/.graphcoolrc.
     ā–ø    Please run graphcool local up to start the local cluster.
    
    Running local Graphcool cluster at <http://localhost:60000>
    Running local FaaS runtime at <http://localhost:60050>
    This may take several minutes
    $ docker-compose up -d --remove-orphans
    
    docker   Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.
     ā–ø    1
    
    Get in touch if you need help: <https://www.graph.cool/forum>
    To get more detailed output, run $ set -x DEBUG "*"
    n
    • 2
    • 7
  • v

    Vinnie

    11/25/2017, 12:47 AM
    Copy code
    docker --version
    Docker version 17.10.0-ce, build f4ffd25
    
    docker-compose --version
    docker-compose version 1.17.1, build unknown
    
    node --version
    v8.9.1
  • v

    Vinnie

    11/25/2017, 12:47 AM
    all installed via brew, if that makes a difference
  • v

    Vinnie

    11/25/2017, 12:47 AM
    on my linux VM all works fine
  • v

    Vinnie

    11/25/2017, 12:48 AM
    but wanted to move on my mac
  • a

    agao

    11/25/2017, 12:48 AM
    Hi, simple question, how to do a new DateTime in mutation? (in playground) similar to js new Date()
    i
    • 2
    • 8
  • c

    Calep Estes

    11/25/2017, 1:29 AM
    what is serverless? i thought it meant a static website. what does this have to do with GraphQL?
    i
    • 2
    • 2
  • e

    ersherr

    11/25/2017, 6:00 AM
    quick question, has anyone gotten an error that looks like this when trying to make queries against the local gc environment?
  • e

    ersherr

    11/25/2017, 6:00 AM
    ā–ø ā€˜ECONNRESET’: request to http://localhost:60000/simple/v1/cja9ydftp000401595vlu4a7l failed, reason: connect ECONNRESET 127.0.0.1:60000```
  • e

    ersherr

    11/25/2017, 6:01 AM
    also, related question: it should definitely be localhost:60000 and not graphcool:60000, right? i see that graphcool:60000 notation in the json produced by the event but i’m not sure what it is
    i
    • 2
    • 3
  • m

    Maslov

    11/25/2017, 6:06 AM
    Hello, does it possible to add ā€œdata is owned by current userā€ boolean on the graphql level? for example ownedByMe: data.user.id == user.id
    i
    • 2
    • 2
  • m

    Maslov

    11/25/2017, 6:06 AM
    to response of query
1...446447448...637Latest