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

    shaharh

    07/02/2017, 8:45 PM
    thanks @nilan
    🙏 1
  • s

    shaharh

    07/02/2017, 8:45 PM
    !
  • g

    geirman

    07/02/2017, 10:11 PM
    can anyone tell me why this query isn’t working. There’s a syntax error apparently, but I don’t see it. Trying to retrieve all users who have a sponsoredEvent -OR- managedEvent -OR- judgedEvent
  • g

    geirman

    07/02/2017, 10:15 PM
    for comparison, this works… so it’s just when I add the OR: logical comparator and string these together.
  • n

    nilan

    07/02/2017, 10:18 PM
    you need to wrap those three in
    {}
  • g

    geirman

    07/02/2017, 10:18 PM
    ah, so I do
  • g

    geirman

    07/02/2017, 10:20 PM
    Can you define “those”?
  • n

    nilan

    07/02/2017, 10:22 PM
    [a, b, c]
    vs.
    [{a}, {b}, {c}]
    g
    c
    • 3
    • 10
  • g

    grardb

    07/03/2017, 3:11 AM
    i seem to have issues with logging in with graphcool’s built-in auth integration. i can create users and log in, but when i try to get the user details, i just get
    { user: null }
  • g

    grardb

    07/03/2017, 3:11 AM
    i’m successfully storing the token in my
    localStorage
    and injecting it into the request headers (even verified in the Chrome console)
  • g

    grardb

    07/03/2017, 3:11 AM
    anything i’m missing? 😕
  • a

    agartha

    07/03/2017, 3:13 AM
    You can test the query in the Graphcool Console in the Playground by clicking 'select user' in the top right. Can you verify you get the correct result? This might be a permission issue, are you getting any errors in the response?
  • g

    grardb

    07/03/2017, 3:14 AM
    no errors in the response. i actually tried that, and i got the correct info in the playground
  • g

    grardb

    07/03/2017, 3:16 AM
  • g

    grardb

    07/03/2017, 3:24 AM
    oh, i’m stupid. it should be
    Bearer apiToken
    , not
    Bearer: apiToken
    👍🏻 1
  • g

    grardb

    07/03/2017, 3:24 AM
    👍
  • w

    wallslide

    07/03/2017, 7:14 AM
    When I am hooking into the request pipeline for an UPDATE operation, is there a way to see both the previous and new data so I can figure out what data is being changed, or only the new data?
    • 1
    • 1
  • t

    timbeyer

    07/03/2017, 8:20 AM
    What would be the best way to read and write data on graph.cool from the server side (node)? I tried using relay, but from the docs it didn't seem very clear how one would use it outside of react. I tried apollo but it just wouldn't work. Finally I tried Lokka, which works but is really buggy (errors don't seem to propagate) I am starting to think I should just use pure HTTP
    n
    • 2
    • 2
  • t

    timbeyer

    07/03/2017, 8:24 AM
    I am also having a hard time finding anything about data import in your docs. I need to scrape some data off some other APIs, categorize it, and then I want it queryable via graphQL. So it would be super nice to have some sort of tooling around getting data into graph.cool
    n
    • 2
    • 2
  • d

    dankent

    07/03/2017, 9:38 AM
    I'm trying to get Auth0 authentication set up. The Auth0 sign in flow all works and I get an ID token back from it but then I'm hitting the error: "Error: GraphQL error: The provided idToken is invalid." when I try to create use the createUser mutation to create the user in graph.cool. Anyone got any pointers?
    d
    n
    • 3
    • 9
  • a

    ampeixoto

    07/03/2017, 12:10 PM
    Hello, I'm just starting to use GraphQL and graph.cool
  • a

    ampeixoto

    07/03/2017, 12:11 PM
    so I created a new project
  • a

    ampeixoto

    07/03/2017, 12:11 PM
    it already has 2 types
  • a

    ampeixoto

    07/03/2017, 12:11 PM
    File and User
  • a

    ampeixoto

    07/03/2017, 12:11 PM
    I just want to use the mutation createFile
  • a

    ampeixoto

    07/03/2017, 12:12 PM
    -.txt
  • a

    ampeixoto

    07/03/2017, 12:12 PM
    but I'm getting the following error:
  • a

    ampeixoto

    07/03/2017, 12:12 PM
    -.txt
  • a

    ampeixoto

    07/03/2017, 12:13 PM
    not sure what could be the problem
    n
    • 2
    • 11
  • n

    nilan

    07/03/2017, 12:34 PM
    Hey everyone <!here|@here>! 👋 This week, the API received several improvements and bug fixes and a lot of new helpful resources were released: - we improved the Relay API, nested mutations and schema migrations 🎉 - a new episode of GraphQL Radio is available where Jordan and Matthew from Parabol share their experience with GraphQL 📡 - special shoutout to this week's Graphcool heroes @agartha, @yus, @derbingle and @notrab for their contributions to the community 💪 Check the full Changelog here: https://www.graph.cool/docs/faq/graphcool-changelog-chiooo0ahn/#week-26-(june-26-july-2)
    💪🏻 1
    👍 2
    🙌🏽 1
    🦜 18
1...253254255...637Latest