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

    user

    05/03/2017, 7:54 AM
    @jjaybrown98 commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : it prerenders react as static HTML
  • u

    user

    05/03/2017, 7:54 AM
    @jjaybrown98 commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : or you could use https://www.npmjs.com/package/react-prerender
  • j

    joar

    05/03/2017, 7:58 AM
    You have a chrome extension which force enables CORS @nish. Its the green box in your extension row
  • j

    joar

    05/03/2017, 7:58 AM
    Disable that
  • j

    joar

    05/03/2017, 8:00 AM
    It will break a lot of sites in a lot of really weird ways, speaking from experience 😛
  • u

    user

    05/03/2017, 8:46 AM
    @nilan commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : thanks for chiminng in @jjaybrown98! We use https://github.com/graphcool/prep 🙂
  • n

    nish

    05/03/2017, 9:25 AM
    @joar Thanks. I was testing some stuff and forgot to disable the extension.
  • a

    artyom

    05/03/2017, 9:34 AM
    @malbernaz @arnemahl 👋 welcome to graphcool !
  • v

    vladfaust

    05/03/2017, 9:51 AM
    Why is February roadmap worklog still present while it's May already?
    n
    • 2
    • 3
  • a

    alexc

    05/03/2017, 10:16 AM
    hi, i'm just starting out with graphql, and Graph.cool looks really ... cool 🙂
    😎 2
  • a

    alexc

    05/03/2017, 10:17 AM
    i'm having trouble finding a solution to the following problem: what if i have a component that pulls a list/table of data using a certain gql query. and i want to search that data, and to be able to activate an arbitrary number of filtering conditions on that query. is there a way to do this dinamically, without having to create a separate query for each permutation of filters?
    n
    • 2
    • 11
  • m

    monkeybonkey

    05/03/2017, 1:30 PM
    where is the setting to adjust the session expiration duration using the graphcool auth provider?
    n
    • 2
    • 5
  • c

    caurelio

    05/03/2017, 1:55 PM
    is anyone from graphcool available for DM? I have been having a really hard time reaching anyone for the past few days
    n
    • 2
    • 1
  • b

    bobbyt

    05/03/2017, 1:57 PM
    Hi! Is the
    serverless-image-proxy
    built into Graphcool's API to generate dynamically resized images per https://www.graph.cool/docs/reference/platform/file-management-eer4wiang0/#image-api ?
  • b

    bobbyt

    05/03/2017, 2:03 PM
    I am able to upload images through the Graphcool API, and can view them via the url included in the response object, but if I append a different image dimension to the file path, i.e., https://files.graph.cool/[api key]/[file id]/500x500 I get an "access denied" response.
    l
    n
    s
    • 4
    • 54
  • a

    adamibaker

    05/03/2017, 3:38 PM
    what's the correct way to format data to be mutated into a field of type
    [Json!]
    ? i keep getting errors when trying to mutate. i've tried several variations of encoding my data, but it just won't land. i am sure i'm doing something obviously wrong. 😉
    Copy code
    userId = 'hashed-id' // is actual User ID
    data = ["{\"details\":{\"title\":\"Local notification\",\"body\":\"The rain in spain stays mainly in the plain.\",\"data\":{\"actionId\":\"foobar\"}},\"schedule\":{\"time\":1493825142658}}"]
    The error:
    Copy code
    {
      "message": "Syntax Error GraphQL (4:30) Expected Name, found String \"details\"\n\n3:         id: \"hashed-id\"\n4:         notificationsLocal: {\"details\":{\"title\":\"Local notification\",\"body\":\"The rain in spain stays mainly in the plain.\",\"data\":{\"actionId\":\"foobar\"}},\"schedule\":{\"time\":1493825773188}}\n                                ^\n5:       ) {\n",
      "locations": [
        {
          "line": 4,
          "column": 30
        }
      ]
    }
    My mutation:
    Copy code
    client.mutate({
        mutation: gql`mutation {
          updateUser(
            id: "${userId}"
            notificationsLocal: ${data}
          ) {
            notificationsLocal
          }
        }`
      })
    n
    • 2
    • 20
  • b

    bogdan

    05/03/2017, 3:40 PM
    hello, I’ve changed the name of an Enum and the values of it, and now i get
    Copy code
    apollo.umd.js:1851 Uncaught (in promise) Error: GraphQL error: Whoops. Looks like an internal server error. Please contact us in Slack (<https://slack.graph.cool>) and send us your Request ID: cj295c5ix9b7z0115599m53mv
    n
    • 2
    • 2
  • a

    artyom

    05/03/2017, 4:40 PM
    @sethbergman @ancashoria @o.roodie @skhamis hello all, glad you’re joining us today! graphcool 🚀
  • u

    user

    05/03/2017, 5:10 PM
    @mel commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : thanks for the suggestions! I’m currently using https://www.netlify.com/docs/prerendering/. should this achieve the same effect?
  • u

    user

    05/03/2017, 5:10 PM
    @mel commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : @jjaybrown98 @nilan
  • u

    user

    05/03/2017, 5:11 PM
    @mel commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : maybe it’s not configured correctly?
  • u

    user

    05/03/2017, 5:13 PM
    @mel commented on @mel’s file

    https://prisma.slack.com/files/U4Q8USMJT/F574918AU/screenshot.png▾

    : also @nilan is there something on the graph.cool side that is preventing bots from hitting the endpoints?
  • a

    aurnik

    05/03/2017, 6:00 PM
    Hey guys, is there a reason it says that the feature requests project was closed 8 hours ago?
    n
    s
    • 3
    • 8
  • a

    adrien

    05/03/2017, 6:26 PM
    hi guys 🙂
    👋 2
  • d

    dr.phil

    05/03/2017, 6:30 PM
    Hello. Downloaded the learnapollo tutorial. Unfortunately exercise 2 solution fails to run. I get an error: Network error: Server response was missing for query 'undefined'. Am I doing something wrong or is it the code?
    n
    s
    • 3
    • 10
  • a

    andrius

    05/03/2017, 7:59 PM
    Hi. I want to know when you plan to have import/merge schema? It's very time consuming to work with big schema in dev and live project. When do you generally think graph.cool will be production ready?
    h
    i
    n
    • 4
    • 10
  • n

    notrab

    05/03/2017, 8:37 PM
    Freecom tutorial this week? I need my weekly fix!! ❤️
    🙂 1
    ❤️ 1
    n
    • 2
    • 5
  • a

    artyom

    05/03/2017, 9:39 PM
    @jeffersante hola 👋 welcome to graphcool
  • f

    fourcolors

    05/04/2017, 1:18 AM
    Is there a way to have a copy of your schema for “staging” data.
  • f

    fourcolors

    05/04/2017, 1:18 AM
    I wanna test etc graphql with staging data
1...173174175...637Latest