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

    eder

    09/01/2017, 9:39 PM
    Hi everyone
  • e

    eder

    09/01/2017, 9:39 PM
    i have a little question
  • e

    eder

    09/01/2017, 9:40 PM
    If i use apollo + Graphcool, I dont need to use redux-saga or redux-thunk?
    d
    • 2
    • 8
  • m

    monkeybonkey

    09/01/2017, 9:47 PM
    in the playground - how do I use query variables with a Json data type, I get an error
    Argument 'deviceTokens' expected type 'Json' but got: \"[object Object]\". Reason: Not valid JSON
    but in my query variables I set it as
    "deviceTokens":{"type":"fcm","token":"bar"}
  • m

    monkeybonkey

    09/01/2017, 9:50 PM
    I also tried escaping the json to string but that also failed
    "deviceTokens": "{\"type\":\"fcm\",\"token\":\"bar\"}"
    d
    n
    • 3
    • 28
  • e

    eder

    09/01/2017, 10:31 PM
    https://www.howtographql.com/vue-apollo/0-introduction/
    🦜 3
    👍🏻 3
    🔥 1
    😍 2
    n
    m
    • 3
    • 2
  • e

    eder

    09/01/2017, 10:31 PM
    available now 🙂
  • e

    eder

    09/01/2017, 10:32 PM
    for those who love Vue.js
  • s

    senorcodecat

    09/02/2017, 12:40 PM
    Is it possible to query for ENUM values?
    a
    • 2
    • 2
  • n

    notrab

    09/02/2017, 3:24 PM
    Anyone here used anon auth?
  • w

    wilkerlucio

    09/02/2017, 3:47 PM
    hello people, I'm trying to do some validation on creation, and I need to hit an external service to validate the input
  • w

    wilkerlucio

    09/02/2017, 3:47 PM
    I see this article: https://www.graph.cool/docs/reference/functions/request-pipeline/communicate-with-external-apis-phe1gei6io/
  • w

    wilkerlucio

    09/02/2017, 3:48 PM
    but when I try to do that I can't... it seems this only works on PRE_WRITE events, which I can't create anymore
  • w

    wilkerlucio

    09/02/2017, 3:48 PM
    is there an alternative way to handle this now?
    n
    • 2
    • 14
  • e

    eder

    09/02/2017, 4:57 PM
    graphcool allows web hosting? or is just for Backend processes?
    d
    • 2
    • 3
  • p

    patstrz

    09/02/2017, 6:33 PM
    Question on SSS: The test object from graphcool includes
    body.context
    but when the real subscription invokes a webtask I don’t have access to
    body.context
    , specifically what I want to do is check
    body.context.graphcool.projectId
    so that I know which project is calling the webtask ( I have a dev and production project), is this the expected behaviour? and if so how do I know what project is calling the function?
    a
    • 2
    • 15
  • a

    aurnik

    09/02/2017, 9:05 PM
    Has anyone been able to successfully export data? I’m just getting 504's
  • v

    visualbbasic

    09/03/2017, 12:17 AM
    Hey guys, is there any features in Graphcool that I can use with my inhouse graphql server?
  • t

    tomasnagy

    09/03/2017, 7:17 AM
    Hi there, is it possible to make login through Facebook/Instagram, yet? Thanks 🙂
    a
    • 2
    • 1
  • u

    uufish

    09/03/2017, 7:27 AM
    Is there a way to know how queries are automatically generated?
  • u

    uufish

    09/03/2017, 7:31 AM
    Copy code
    type Test implements Node {
      content: String!
    }
    ↓
    Copy code
    type Test implements Node {
      content: String!
      createdAt: DateTime!
      id: ID! @isUnique
      updatedAt: DateTime!
    }
    ↓
    Copy code
    _allTestsMeta(filter: TestFilterorderBy: TestOrderByskip: Intafter: Stringbefore: Stringfirst: Intlast: Int): _QueryMeta!
    allTests(filter: TestFilterorderBy: TestOrderByskip: Intafter: Stringbefore: Stringfirst: Intlast: Int): [Test!]!
    Test(id: ID): Test
    a
    • 2
    • 5
  • t

    tfiwm

    09/03/2017, 3:09 PM
    any idea why my generated user auth token after a refresh is invalid? Shouldn’t be the token valid for a certain period of time?
    a
    • 2
    • 30
  • p

    przytzrask

    09/03/2017, 6:09 PM
    hello guys. I recently started yours cool tutorial apollo-react
  • p

    przytzrask

    09/03/2017, 6:15 PM
    And I am on setting up step 🙂 Just wonder how to setup up if using a redux
  • h

    huv1k

    09/03/2017, 7:31 PM
    @przytzrask start with basics 🙂
  • h

    huv1k

    09/03/2017, 7:31 PM
    then add abstraction on top
  • p

    przytzrask

    09/03/2017, 7:32 PM
    kk I gonna follow the steps 🙂
    h
    • 2
    • 2
  • a

    amandoabreu

    09/03/2017, 9:26 PM
    Hey guys, quick question. I have a form, user submits an email of someone else. Each user has a relation with another user, 1 to 1. How do I make it so that the email of someone else, also creates the relation with userIDs? The user has no way of knowing the id from the email(but I could make it so) just wondering if I can do this within a function, thanks!
    a
    • 2
    • 7
  • p

    pcooney10

    09/03/2017, 10:51 PM
    Hey, anyone experience CORS issues in the Playground? I am trying to integrate this example: https://github.com/graphcool-examples/functions/tree/master/payment-and-delivery/stripe-create-customer-es6 and am getting the following error:
    Fetch API cannot load https://.../prod/create/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://console.graph.cool>' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
    a
    d
    • 3
    • 11
  • a

    agartha

    09/03/2017, 11:52 PM
    Q: I've created a SSS, but it never fires. If I copy the subscription into the Playground, it fires okay...
    • 1
    • 1
1...328329330...637Latest