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

    johhansantana

    12/07/2017, 1:04 PM
    can a field with
    @unique
    have multiple records with the value of
    null
    ?
    n
    • 2
    • 2
  • n

    Niek Kruse

    12/07/2017, 1:11 PM
    Does anyone know of a way to debug resolver functions? I’m writing a pretty complex one and having a hard time because I can’t find a way to debug it properly…
    i
    • 2
    • 7
  • j

    Jason

    12/07/2017, 2:57 PM
    I'm setting up a simple e-commerce app and need to process payment via Stripe, then write a new Order record to the database, with the paymentID from the transaction. I'm worried about permissions...don't want anyone to be able to set the
    paid
    field to
    true
    – is there a way to authenticate server-side so that writes can only be done via a server-side function?
    j
    • 2
    • 6
  • b

    Butch

    12/07/2017, 3:57 PM
    My issue with Auth0 and auth in general is I can't figure out a good way to invalidate the token (logout) for graphcool
    m
    • 2
    • 1
  • d

    doug_w

    12/07/2017, 5:53 PM
    Anyone know how to do a query in a function resolver?
    j
    • 2
    • 2
  • d

    doug_w

    12/07/2017, 5:54 PM
    I think I remember a conversation in here around that.
  • d

    doug_w

    12/07/2017, 5:54 PM
    We are trying to have add a unique human readable id number to a node on pre-creation. Easiest way is to find the nodes.length and go from there.
  • j

    jshort

    12/07/2017, 10:20 PM
    Is the permissions endpoint returning the default schema for anyone else?
  • j

    jshort

    12/07/2017, 10:21 PM
    I am not getting back the schema with the
    Some{Model}Exists
    or anything...
    n
    • 2
    • 1
  • m

    mattbryanswan

    12/07/2017, 10:52 PM
    hey, I'm trying to use the command line tool to
    add-template
    but its an unknown command... what am I doing wrong?
  • d

    dardub

    12/07/2017, 10:55 PM
    It's part of the graphcool cli
  • d

    dardub

    12/07/2017, 10:55 PM
    Copy code
    graphcool add-template graphcool/templates/auth/email-password
  • m

    mattbryanswan

    12/07/2017, 10:55 PM
    yep, that's what I'm using
  • m

    mattbryanswan

    12/07/2017, 10:56 PM
    I have version 1.3.7. It looks like its saying the latest is 0.10.1... does that sound right?
  • d

    dardub

    12/07/2017, 10:56 PM
    Ya I have 0.10.1 and I just installed mine a couple days ago
  • m

    mattbryanswan

    12/07/2017, 10:57 PM
    ok, that's probably it then. thanks @dardub
    👍 1
  • m

    mattbryanswan

    12/07/2017, 11:22 PM
    can you use templates with the hosted version of graph.cool? I see that it wants to make changes to a graphcool.yml file, for instance, but I don't have one of those. I only have my project.graphcool file.
  • d

    dardub

    12/07/2017, 11:31 PM
    @mattbryanswan Are you using a legacy graphcool project? There's some instructions in the docs for migrating and on using the templates. I just did this all yesterday.
  • m

    mattbryanswan

    12/07/2017, 11:32 PM
    oh... maybe I am. that would explain it.
  • m

    mattbryanswan

    12/07/2017, 11:33 PM
    yep. That's it 🙂 thanks again!
    d
    • 2
    • 7
  • p

    Phu Phan

    12/08/2017, 3:39 AM
    Hi everyone in this room
    👋🏻 3
  • p

    Phu Phan

    12/08/2017, 3:39 AM
    ✌️
  • e

    eliezedeck

    12/08/2017, 3:52 AM
    Anyone using the self-hosted docker Graphcool? Can you share you experiences? I'm interested in the performance and deployment
    👍 5
    t
    c
    +2
    • 5
    • 5
  • e

    ed

    12/08/2017, 11:32 AM
    Morning everyone @nilan I am actually setting up the email password login of graphcool, but it only returns 1 token, does it expire? if so, how can I refresh the token? thanks in advance
    👍 3
    f
    e
    +2
    • 5
    • 5
  • j

    joar

    12/08/2017, 11:34 AM
    How do gcool handle socket authentication? Sending in a request header does nothing for me
    n
    • 2
    • 1
  • o

    Oleg Galaburda

    12/08/2017, 11:40 AM
    Hello! I've deployed backend locally and cannot upload file, server responds with HTTP 405
    HTTP method not allowed, supported methods: GET
    , but when I use playground, it gives HTTP 200 Ok with same frontend. Are file uploads supported for local setup, what am I missing?
    e
    n
    • 3
    • 2
  • e

    Emi

    12/08/2017, 12:05 PM
    The file management doesn't work locally? I can't see the endpoint for "File" when doing a local deployment (previous question might be related).
    n
    • 2
    • 1
  • m

    max

    12/08/2017, 12:26 PM
    anyone else seeing
    Global   ✖ None.get
    on deploying to gc?
    • 1
    • 5
  • p

    P_loringhoven

    12/08/2017, 12:44 PM
    @max Yes me! And i've got no clue 😞
  • e

    Emi

    12/08/2017, 12:47 PM
    @max I saw this message some days ago after trying to migrate some fields. I had to reset the database to make it work (luckily I was deploying locally)!
1...460461462...637Latest