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

    hagbarth

    06/23/2017, 12:24 PM
    Hey! I'm trying to run the authentication mutation for the anonymous user in a relay-modern app. But the mutation argument is called
    secret
    and not
    input
    which breaks the entire thing. Can I edit mutations manually ?
    n
    d
    • 3
    • 15
  • k

    kyriakosmichael

    06/23/2017, 12:44 PM
    HELLO ALL, new to graphcool and excited !!
    🦜 3
    🎉 3
    n
    d
    • 3
    • 3
  • d

    domthegrom

    06/23/2017, 1:06 PM
    @prijindal

    https://www.youtube.com/watch?v=5uxq8Om-AZQâ–ľ

  • d

    domthegrom

    06/23/2017, 1:06 PM
    check this out
  • u

    215renz

    06/23/2017, 1:43 PM
    Hi, great work on the geocode function. More of a question than issue.... I am a newb to coding and Graph.cool so hopefully you could help out. When running that function the data in the array result may change positions... For instance an address that has a "neighborhood" type will shift the "locality" to [3], where as an address without a "neighborhood" type "locality" lives in the [2] position. #geocode
    n
    • 2
    • 7
  • c

    ckelley

    06/23/2017, 3:29 PM
    For those here who use Apollo: I'm running into a weird error when updating the store. I'm issuing a mutation to create a new item, then I want to add that item to a list already retrieved by another query. I have an optimistic response that matches the server's mutation response. When I issue the mutation, the store is updated perfectly with the optimistic; however, when the server response is received, Apollo seems to update the store properly, but ends up simply removing the
    viewer
    field from the root query which breaks my component. Apollo doesn't give any state update errors. Has anyone else experienced this?
    n
    • 2
    • 16
  • s

    shanth

    06/23/2017, 5:19 PM
    how do i even associate authenticated user id with owner_id in a Post type in createPost mutation
    n
    • 2
    • 10
  • j

    joshjoe

    06/23/2017, 5:20 PM
    how do I express a relationship like this: I have several orgs, some of them will be parents and some will be children and some will be neither. All will be of the type Organization
  • j

    joshjoe

    06/23/2017, 5:22 PM
    The trouble I’m having is with the self referencing nature of this. Normally I’d just use the “@relation” directive to connect to the other type
  • j

    joshjoe

    06/23/2017, 5:23 PM
    I don’t see this being nested more than 1 level deep, so an org could only ever be a parent or a child or neither, if that helps
  • j

    joshjoe

    06/23/2017, 5:25 PM
    Ok, it let me do this:
    Copy code
    parentOrg: Organization @relation(name: "OrganizationParent")
      childOrgs: [Organization!]! @relation(name: "OrganizationChildren")
  • j

    joshjoe

    06/23/2017, 5:26 PM
    I think I might have solved my problem here, but if anyone has any notes on self referencing or on my solution I’d appreciate it. Thanks
    n
    • 2
    • 1
  • m

    mike.johnson

    06/23/2017, 6:15 PM
    Is there an exmaple using MobX over Apollo? Thoughts?
    n
    w
    • 3
    • 8
  • m

    martin

    06/23/2017, 8:51 PM
    Can I request a node library that’s unavailable on webtask.io? Or how can I use it in graphcool functions? https://github.com/sendpulse/sendpulse-rest-api-node.js
    • 1
    • 1
  • l

    level

    06/23/2017, 9:33 PM
    👋🏼 hi there! I'm looking into authentication docs, and I'm seeing that you strictly use the name
    User
    as your schema type - are other names like
    Person
    or
    Member
    allowed?
    a
    n
    • 3
    • 2
  • f

    faure

    06/23/2017, 10:12 PM
    Is it possible to add fields to relations?
    n
    • 2
    • 2
  • d

    dan2k3k4

    06/23/2017, 10:28 PM
    Hmm is there a flow related slack? otherwise anyone know how I could fix this:
    Copy code
    flow is still initializing; this can take some time. [merging inference]node_modules/graphql-tag/lib/graphql-tag.umd.js.flow:3
      3: import type { DocumentNode } from 'graphql';
                                           ^^^^^^^^^ graphql. Required module not found
    
    node_modules/graphql-tag/src/index.js.flow:3
      3: import type { DocumentNode } from 'graphql';
                                           ^^^^^^^^^ graphql. Required module not found
    f
    a
    • 3
    • 44
  • l

    lastmjs

    06/23/2017, 10:52 PM
    I'm going into production, and I have a new account for production in a new region. I have an identical cloud function that is supposed to run whenever the user is updated or created, but in the production system the cloud function is not running
    n
    • 2
    • 14
  • l

    level

    06/24/2017, 12:45 AM
    Do you support cron jobs atm?
    a
    • 2
    • 1
  • j

    joshjoe

    06/24/2017, 1:48 AM
    Is there a way to store env_vars in graph.cool?
  • j

    joshjoe

    06/24/2017, 1:48 AM
    Something like a Stripe secret key or the like
  • j

    joshjoe

    06/24/2017, 1:52 AM
    Looks like Graph.cool doesn’t have this yet. https://github.com/graphcool/feature-requests/issues/229
    n
    • 2
    • 1
  • s

    sebko

    06/24/2017, 12:58 PM
    👋 Hey folks! I’m following this React native tutorial https://github.com/graphcool-examples/react-native-graphql/tree/master/authentication-with-auth0-and-apollo but can’t seem to login (screenshot attached). I’m able to successfully sign up a user, and receive and accept the verification email from auth0, but can’t get past the login screen
  • n

    nilan

    06/24/2017, 12:58 PM
    Hey @sebko are you using H256 tokens? Did you make sure to configure the Auth0 integration correctly in the Graphcool Console?
  • s

    sebko

    06/24/2017, 1:05 PM
    Hey Nilan, firstly thanks for the work you have setting up the example! Auth0 is integrated in the Graphcool Console, I’m unsure about H256 tokens.
    n
    • 2
    • 22
  • p

    preetb123

    06/24/2017, 1:30 PM
    @nilan
    n
    • 2
    • 1
  • p

    preetb123

    06/24/2017, 1:30 PM
    even i am getting the same error
  • s

    sebko

    06/24/2017, 1:35 PM
    may be related: https://github.com/auth0/react-native-lock/issues/165
    👍 1
  • p

    picosam

    06/24/2017, 1:35 PM
    Hi guys, if I want to get the count of all items in a query where I've applied a certain filter, I have to use _meta* and apply the filter a second time there?
    d
    n
    • 3
    • 6
  • p

    picosam

    06/24/2017, 1:37 PM
    Example.js
1...243244245...637Latest