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

    akadop

    05/25/2017, 10:04 AM
    Fetch API cannot load https://api.graph.cool/simple/v1/cj1qw74umsgkl0127m6uk21x9. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
  • a

    akadop

    05/25/2017, 10:05 AM
    And then it randomly throws: `` message : "GraphQL error: No user found with that information"``
  • a

    akadop

    05/25/2017, 10:06 AM
    I am absolutely 100% sure I am using the correct credentials, as I have been for the past 3 weeks without issue. I even created new users and forked my schema to see if it was a problem with that specific endpoint
  • a

    akadop

    05/25/2017, 10:07 AM
    Auth_errors__console_throws_bad_gateway.js
  • n

    nilan

    05/25/2017, 10:24 AM
    I'll reach out to you in PM, @akadop
  • p

    ppatidar

    05/25/2017, 11:32 AM
    @nilan I'm calling my webhook at User created using Function I'm not getting user data in my external api FYI: i'm using Webtask for the external api
    ๐Ÿ‘ 1
    โœ… 1
    n
    • 2
    • 2
  • e

    erhankaradeniz

    05/25/2017, 11:58 AM
    Anybody online here who would be able to help me out with a problem Iโ€™m facing atm ?
    n
    l
    • 3
    • 4
  • e

    erhankaradeniz

    05/25/2017, 12:24 PM
    @nilan I figured Iโ€™d have to switch to cookies instead of localStorage.
    โœ… 1
  • p

    ppatidar

    05/25/2017, 1:01 PM
    @nilan I have one (is_email_verified) field in my User Model At the time of login i want to check is this field is True the user can login otherwise we need to show msg like that "Please confirm your email first then re try login" How can do this
    ๐Ÿ”ด 1
    n
    • 2
    • 4
  • p

    ppatidar

    05/25/2017, 1:39 PM
    Untitled.txt
  • u

    user

    05/25/2017, 1:40 PM
    @ppatidar commented on @ppatidarโ€™s file https://prisma.slack.com/files/U5BE078UR/F5HTZ02F4/Untitled.txt: @nilan I'm calling my query from webtask like the below code
    Untitled.txt
  • u

    user

    05/25/2017, 1:41 PM
    @ppatidar commented on @ppatidarโ€™s file https://prisma.slack.com/files/U5BE078UR/F5HTZ02F4/Untitled.txt: Response not have query data
    Untitled.txt
  • u

    user

    05/25/2017, 2:13 PM
    @ppatidar commented on @ppatidarโ€™s file https://prisma.slack.com/files/U5BE078UR/F5HTZ02F4/Untitled.txt: @nilan I need your help here
    Untitled.txt
  • n

    nilan

    05/25/2017, 2:16 PM
    @ppatidar have a look here: https://github.com/graphcool-examples/webtask-like-posts-example/blob/master/request/like-posts-request.js#L32 ๐Ÿ™‚
  • p

    ppatidar

    05/25/2017, 2:25 PM
    Thanks Its working for me : )
    ๐ŸŽ‰ 2
  • p

    picosam

    05/25/2017, 3:31 PM
    Well, I see that graph.cool is using Auth0 Extend already? ๐Ÿ˜‰ ๐Ÿ˜›
    n
    • 2
    • 4
  • a

    artyom

    05/25/2017, 3:41 PM
    whoopla, hey there! Tada @cortrah @ramblerob @miketsap @cadu @rjmurt @levon @kozy nice to see you hear today! graphcool
  • k

    kozy

    05/25/2017, 3:47 PM
    Hi everyone, say I have a localized title on my Category type. The localized title comes from the Translations type with a specific locale. How do I write a resolver function which returns the right localized title based on a header or argument. I would like to abstract away most of the translations logic if possible
  • c

    cadu

    05/25/2017, 4:18 PM
    Thanks @artyom!
  • u

    user

    05/25/2017, 4:23 PM
    @nilan commented on @jeffoโ€™s file

    https://prisma.slack.com/files/U484CQQAJ/F5HN9TZ8S/function.issue.pngโ–พ

    : can you try again? if it doesn't work, please PM me your project id ๐Ÿ™‚
  • j

    jv.bianchi

    05/25/2017, 4:44 PM
    sometimes it takes 20s to the graphcool server to respond
    n
    • 2
    • 3
  • a

    andrius

    05/25/2017, 4:45 PM
    Hello, when using lokka library to make a mutation , there is error when string contains
    ...
    Copy code
    createStatement( message: "I had ...I wanted" ){id}
    
    Error: There is no such fragment: I at /Users/bridebook2/dev/supplierT/node_modules/lokka/index.js:91:19 at Array.forEach (native) at Lokka._findFragments (/Users/bridebook2/dev/supplierT/node_modules/lokka/index.js:88:23)
    n
    • 2
    • 6
  • a

    andrius

    05/25/2017, 4:46 PM
    is there any other good library to do serverside script
  • a

    andrius

    05/25/2017, 4:46 PM
    i post it on lokka github, no answer for 4 days
  • a

    andrius

    05/25/2017, 4:47 PM
    and building queries in strings feels like working 5-7 years ago
  • a

    andrius

    05/25/2017, 4:47 PM
    why they not using json objects like in elasticSearch or Firebase ?
  • a

    andrius

    05/25/2017, 4:53 PM
    you have to escape newlines and quotes and many other chars.....very outdated
    n
    • 2
    • 22
  • m

    makarst

    05/25/2017, 6:57 PM
    Hello! Appreciate all the work you are doing here! Can someone give me advice on that: Iโ€™m want to use GitHub as a provider to authenticate users. However, Iโ€™m trying to avoid using auth0 for now. What would be the best way to achieve that with graphcool only? Currently Iโ€™m able to get a GH token by using their oauth api. How should I approach creating user inside graphcool given the token? Thank you!
  • h

    hmeissner

    05/25/2017, 7:17 PM
    So Iโ€™ve heard that Apollo Optics are ๐Ÿ”œ , any ETA? ๐Ÿ™‚
  • u

    user

    05/25/2017, 8:02 PM
    @jeffo commented on @jeffoโ€™s file

    https://prisma.slack.com/files/U484CQQAJ/F5HN9TZ8S/function.issue.pngโ–พ

    : I think that message was a red herring and I was not using the UI right, now that i've got it going that functionality is super-useful and works great, thank you team graph.cool!
1...203204205...637Latest