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

    kdichev

    12/26/2017, 3:33 PM
    is there a way to migrate from prod db to local db?
    n
    • 2
    • 1
  • k

    kdichev

    12/26/2017, 3:43 PM
    request returns "Insufficient permissions for this mutation"
    schema_type_I_cannot_mutate_from_query_in_prod_or_dev.js
  • u

    user

    12/26/2017, 3:45 PM
    @kdichev commented on @kdichev’s file https://prisma.slack.com/files/U8FKV8W0Y/F8JM3CY1E/schema_type_i_cannot_mutate_from_query_in_prod_or_dev.js: I can add that type using graphcool data explorer
    schema_type_I_cannot_mutate_from_query_in_prod_or_dev.js
  • k

    kdichev

    12/26/2017, 4:06 PM
    ok I was missing the permision on in my graphcoolrc
  • e

    efvaldez

    12/26/2017, 4:32 PM
    Hi All, how do I setState before rendering a component? I just finished the howtographql tutorial a few weeks ago. I created states newName and newEmail and the componentWilMount: componentWillMount(){ const userId = localStorage.getItem(GC_USER_ID) console.log('userId') console.log(userId) if (this.props.allUsersQuery && this.props.allUsersQuery.loading) { return console.log("loading") } if (this.props.allUsersQuery && this.props.allUsersQuery.error) { console.log(this.props.allUsersQuery.error) return console.log("error") } const result = this.props.allUsersQuery.allUsers console.log(result) const len = result.length console.log(len) for (var i = 0; i < len; i++) { if(result[i].id===userId) { console.log(result[i]) var user = result[i] } } console.log("found") console.log(user) this.setState({newName: user.name}) this.setState({newEmail: user.email}) console.log("END MOUNT") }
  • e

    efvaldez

    12/26/2017, 4:34 PM
    if it satisfies the .loading, it goes to render() next. How do I set states from graphcool query ? Setting sates in render() is not allowed. I plan to get current User Info, then user can change name,email before hitting save in his profile. Thanks a lot!
  • g

    Gabriel

    12/26/2017, 8:54 PM
    Hello everyone
    👋 2
  • a

    adamibaker

    12/26/2017, 9:19 PM
    Does Graphcool Cloud (the backend-as-a-service) support Facebook authentication?
  • s

    senorcodecat

    12/26/2017, 9:19 PM
    Yep
  • s

    senorcodecat

    12/26/2017, 9:19 PM
    IT's a built in template
  • s

    senorcodecat

    12/26/2017, 9:20 PM
    Just have to do some customization
  • a

    adamibaker

    12/26/2017, 9:21 PM
    is there documentation about how to do that with graphcool cloud? (as in, graphcool's hosted service?)
  • g

    Gabriel

    12/26/2017, 9:24 PM
    Is there anyone who has experience with vuex and apollo, who could help me ?
  • n

    noah087

    12/26/2017, 10:48 PM
    I'm looking for some help formulating many-to-many relations in Normalized Data Format (NDF)
  • n

    noah087

    12/26/2017, 10:48 PM
    I've got a User type and a ShiftConfiguration type. There are many users to many ShiftConfigurations. I'm exporting data from MySQL to bring it into Graphcool
    n
    • 2
    • 1
  • t

    taizo

    12/27/2017, 1:28 AM
    Does anyone know about MySQL setting on Graphcool framework? I have searched on the Web, but I couldn't look for the information. When I set up Graphcool framework on my local env, 4 docker images are started. One of these docker images is for MySQL, I guess. If I would like to use external MySQL, how can I configure MySQL host, user, password and database?
    k
    • 2
    • 2
  • v

    Vinh Huynh

    12/27/2017, 7:58 AM
    Hello Everyone
  • v

    Vinh Huynh

    12/27/2017, 7:59 AM
    Does graph.cool support return array with schema extensions?
  • v

    Vinh Huynh

    12/27/2017, 8:00 AM
    graphcool_response_array.txt
  • e

    efvaldez

    12/27/2017, 9:15 AM
    hi @nilan, I am having problems with my subscription, I copied the code from the tutorials on github, but I get this same error https://github.com/howtographql/react-apollo/issues/22
    n
    • 2
    • 1
  • e

    efvaldez

    12/27/2017, 9:18 AM
    Who here tried doing the react-apollo tutorials? Why am I getting error on subscribeToNewLinks() like this issue? https://github.com/howtographql/react-apollo/issues/22 Thanks!
  • p

    Phu Phan

    12/27/2017, 11:26 AM
    @nilan we cannot access the ‘Functions’. Kindly assist!
    n
    • 2
    • 1
  • g

    Gabriel

    12/27/2017, 11:48 AM
    I’dont know where to ask this but When usign Vuex we create a store, a mutation and an action. I give some parameters to the action, so that I can use it in the ...mapActions inside my component. Does anyone know how do we pass the values from a form in a component to the action in ...mapActions ? Thank you in advance. Ps I use, apollo, vuex and graphcool
  • h

    hepin1989

    12/27/2017, 12:24 PM
    will graphcool framework support java
    n
    • 2
    • 1
  • n

    noah087

    12/27/2017, 3:02 PM
    Does anyone have any experience representing many-to-many relations in Normalized Data Format?
    d
    • 2
    • 3
  • m

    mattm

    12/27/2017, 3:30 PM
    hey, how i can use extra-files (eg. fonts) in serverless-plugin-typescript ?
  • m

    mattbryanswan

    12/27/2017, 4:35 PM
    how do you/can you update a query in the apollo store used in a different component?
    • 1
    • 3
  • c

    cjoelrun

    12/27/2017, 7:34 PM
    What happened to relay queries in the playground?
    n
    • 2
    • 1
  • c

    cjoelrun

    12/27/2017, 7:34 PM
    Can't find a way to make them.
  • r

    rison

    12/28/2017, 3:11 AM
    hi, I'm new to graphcool and I have a question. Is the graphql playground publicly accessible? If it is, then can't anyone access the database?
    n
    • 2
    • 26
1...486487488...637Latest