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

    davemcorwin

    10/06/2017, 4:54 PM
    to be clear, the page loads, but none of the links work, lots of console errors and the page content does not change
  • p

    panzupa

    10/06/2017, 5:14 PM
    Hi Guys, I need little help, I've got React+Realy Modern app and I started integrating Auth0
  • p

    panzupa

    10/06/2017, 5:18 PM
    I created a user manually in Auth0 (for testing). This user in not connected to any user in GraphCool. I'm able to get token for that user in my app. I put that token into Relay Environment -> fetch function, headers section `'Authorization': `Bearer ${token}``. When I try to execute query on type for which I have set
    Authentication required
    I got
    Insufficient Permissions
    as response. Any ideas what am I doing wrong?
    a
    n
    • 3
    • 18
  • r

    Rippo

    10/06/2017, 5:52 PM
    Played around with concurrently which seems to do mostly what I want - parallel test. However now lookign how I collate all the results into one file xunit or like
  • r

    Rippo

    10/06/2017, 5:54 PM
    Got 50 secs local tests (synchronous) dotown to about 8 secs using concurrently
  • r

    Rippo

    10/06/2017, 5:54 PM
    looking for someone to help me with a side project that can collate mocha results into a single file AFTER it completes.
  • c

    chrishurlburt

    10/06/2017, 6:55 PM
    is anyone else having issues with requests timing out?
    n
    • 2
    • 1
  • m

    MattF

    10/06/2017, 7:47 PM
    Can anyone help us with an Inline Function?
    n
    • 2
    • 4
  • m

    Miezan

    10/06/2017, 7:51 PM
    so is jsx not supported ? it took me forever combing thru doc/example to realized that all my errors were coming from that. i tried the
    --extensions
    option but all it did was silence the errors and not outputting any files
    n
    • 2
    • 4
  • m

    Max N.

    10/06/2017, 10:08 PM
    a quick questions, does the websocket endpoint for subscriptions require authentication? I am not using apollo but a homebrewed websocket connection and whenever I try to connect I get a 400 error
    Error during WebSocket handshake: Unexpected response code: 400
  • m

    Max N.

    10/06/2017, 10:49 PM
    figured it out, you need to specify the protocol
    new WebSocket(websocketurl, "graphql-ws");
    Great product so far!
    a
    • 2
    • 3
  • n

    niwat

    10/07/2017, 1:38 AM
    I have this type “Thing” that have dozen of “fields” (field1, field2, ...). How do I do an update query with dynamic fields names? Is it bad practice? If yes, what is the alternative to keep the code dry? mutation updateThing($thingId: ID!, $value:String) { updateThing ( id: $tokenId field1: $value // make field1 a variable? ) { id } }
  • m

    matty

    10/07/2017, 3:05 AM
    anyone able to get https://docs-next.graph.cool/ to work?
  • m

    matty

    10/07/2017, 3:05 AM
    its linked to from the readme in here https://github.com/graphcool/graphql-cli
  • m

    matty

    10/07/2017, 3:13 AM
    ooh - bold move, using the
    graphql
    command for the graphcool CLI
    n
    • 2
    • 1
  • m

    matty

    10/07/2017, 3:21 AM
    can't seem to clone a project
  • m

    matty

    10/07/2017, 3:37 AM
    why wont this work 😭 https://docs-next.graph.cool/faq/other-reob2ohph7/#whats-the-difference-between-the-graphcool-cli-and-the-graphql-cli
  • m

    matty

    10/07/2017, 3:38 AM
    why wont anything on graphcool work tonight 😞 driving me nuts trying to get the most basic things done
    n
    • 2
    • 1
  • m

    matty

    10/07/2017, 3:42 AM
    well if I could disable the integrations, that would be a start... 🔪
  • m

    matty

    10/07/2017, 4:00 AM
    https://api.graph.cool/system
  • m

    matty

    10/07/2017, 4:00 AM
    can i use this to disable the algolia integration?
  • m

    matty

    10/07/2017, 4:06 AM
    OMG 👀 that worked
  • m

    matty

    10/07/2017, 4:08 AM
    Copy code
    mutation {
      updateSearchProviderAlgolia(input: {projectId: "<PROJECTID>", isEnabled: false, applicationId: "<APPID>", apiKey: "<APIKEY>"}) {
        clientMutationId
      }
    }
    👍 1
    👍🏻 1
  • m

    mxming

    10/07/2017, 10:01 AM
    is there a way to use user token instead of pat in “graphcool-lib” ?
    a
    • 2
    • 2
  • r

    rein

    10/07/2017, 11:10 AM
    hey guys, I had a quick question. Is it possible to link a smaller piece of data from a larger query to a component by way of a graphql wrapper? Like when a component needs only the commentCount of one post, but the query that fetches that normally fetches a whole list of posts. Or is it better to do this by just passing down props
  • r

    rein

    10/07/2017, 11:31 AM
    in general, what is the best practice here? To wrap components in the graphql HOC in a more liberal way? Or just pass down props to different levels? Im partial to the first since its easier to see where the data comes from, but not sure about other implications
  • a

    albinekb

    10/07/2017, 2:00 PM
    I’m wondering the same @rein, I have went with to put the
    graphql
    HoC/decorator at every component that needs the data
  • a

    albinekb

    10/07/2017, 2:00 PM
    but I’m having issues with a lot of requests being sent
    h
    r
    f
    • 4
    • 40
  • a

    albinekb

    10/07/2017, 2:01 PM
    so I’m starting to consider just one huge one per page, with passing around props to the respective components
  • a

    albinekb

    10/07/2017, 2:01 PM
    but it would be nice with some batching or something, because having the code closely coupled to the component fells nice, and easier to avoid over-fetching too
1...363364365...637Latest