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

    visualbbasic

    07/04/2017, 2:19 AM
    or should we rely on graphql + graphene to handle the translation
  • g

    geirman

    07/04/2017, 4:11 AM
    using graphcool’s email authentication, can anyone point me to the documentation (or an example) of how to reset the user’s password?
  • g

    geirman

    07/04/2017, 4:13 AM
    I would think there would be a
    resetUserPassword(email, newPassword)
    mutation added 😕
    n
    • 2
    • 3
  • j

    joshmadewell

    07/04/2017, 5:05 AM
    11 days ago was the last bump on this: https://github.com/graphcool/feature-requests/issues/39
  • j

    joshmadewell

    07/04/2017, 5:06 AM
    it seems like a priority for them not sure the progress on it
    👍 2
  • q

    qsys

    07/04/2017, 10:39 AM
    To model the data of a project I'm working on right now, interfaces would be extremely welcome. There is a
    booking
    type, but many different types of things (all `bookable`s that can be booked). Each of these has different fields. In the current implementation of graphcool, it's about impossible - as far as I know - to model this properly. There should be a kind of
    Booking-Bookable
    relation.
    Bookable
    could be about anything (but has some required fields). It's been a while that interfaces are 'coming soon'... I wonder what 'soon' means in a more concrete sense 🙂?
    n
    a
    • 3
    • 10
  • p

    picosam

    07/04/2017, 11:56 AM
    Hello, are we obliged to put permission queries for relations when there are ones for the types themselves?
  • p

    picosam

    07/04/2017, 11:56 AM
    I'm getting a
    3008: No CONNECT permissions
    error when trying to create a node
  • p

    picosam

    07/04/2017, 11:58 AM
    Or is it the playground that's not picking up the user that I'm trying to simulate a connection with?
    ✅ 1
    n
    • 2
    • 21
  • p

    Pieter

    07/04/2017, 12:16 PM
    anyone found a solution for linking auth0 accounts by email and then making sure they are linked with the correct auth0Id in graphcool?
  • p

    Pieter

    07/04/2017, 12:16 PM
    https://github.com/graphcool/feature-requests/issues/50
  • p

    picosam

    07/04/2017, 1:32 PM
    By the way, noob question: when we subscribe to an apollo call to mutate, don't we need to unsubscribe?!
    👍 1
    a
    n
    • 3
    • 49
  • i

    ilija_nl

    07/04/2017, 3:17 PM
    Anyone has an idea when you can export permissions and functions from console (so you can fully do VCS)?
    👍🏻 2
  • m

    martin

    07/04/2017, 4:19 PM
    websocket
    connections are failing:
    failed: Error in connection establishment: net::ERR_SOCKET_NOT_CONNECTED
    Is this a global thing, or connected to my code?
    n
    • 2
    • 4
  • g

    grardb

    07/04/2017, 4:55 PM
    i seem to be running into a permissions error with subscriptions. i’ve got an
    Expense
    type which can only be read/updated/deleted by the
    User
    it belongs to. this all works, but when i’m subscribed to mutations on
    Expense
    , i get a permissions error when an expense gets deleted. i suspect that it’s because the expense no longer exists, so my
    SomeExpenseExists()
    call returns
    false
    ? how can i get the
    id
    of a deleted expense so i can update the client?
    n
    • 2
    • 4
  • s

    spences10

    07/04/2017, 8:44 PM
    Hello graphcool
  • s

    spences10

    07/04/2017, 8:44 PM
    how does this work then?
  • s

    spences10

    07/04/2017, 8:45 PM
    do i need a db to store the data in before I make this graphql layer?
    n
    y
    • 3
    • 4
  • y

    yus

    07/04/2017, 11:00 PM
    I wrote a blog post on how to write graphcool functions in es6 with async await http://www.reactjunkie.com/graphcool-functions-in-es6-with-async-await/
    🎉 4
    🔥 1
    💪🏻 1
    🦜 1
    a
    • 2
    • 8
  • d

    davo

    07/05/2017, 12:45 AM
    hi all, loving graph.cool so far!
  • d

    davo

    07/05/2017, 12:46 AM
    I’m just learning dev and have played around with firebase/heroku/nodejs_express_mysql
  • d

    davo

    07/05/2017, 12:46 AM
    I have a question on relationships, is this the right place to ask?
  • j

    joshmadewell

    07/05/2017, 2:02 AM
    yep!
  • j

    joshmadewell

    07/05/2017, 2:03 AM
    I mean…this is general… seemsfairgame
  • d

    davo

    07/05/2017, 2:06 AM
    @joshmadewell when doing a relationship for Car and Wheel
  • d

    davo

    07/05/2017, 2:07 AM
    I’m doing one-to-many. one car, many wheel
  • d

    davo

    07/05/2017, 2:09 AM
    it’s created the fields
    Car.wheels
    and
    Wheel.car
    and storing multiple
    Wheel.id
    in
    Car.wheels
  • d

    davo

    07/05/2017, 2:10 AM
    I’m worried that in other one-to-many relationships, the example like `Car.wheels ["id1","id2","id3",…]`could get too big and hit a limit.
  • j

    joshmadewell

    07/05/2017, 2:43 AM
    That's actually a good question and I'm not sure why graph cool does that tbh
  • j

    joshmadewell

    07/05/2017, 2:43 AM
    I noticed that for some of my relationships
1...255256257...637Latest