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

    Dukuo

    12/04/2017, 7:35 PM
    hold on, please order in a subthread !
  • f

    frank

    12/04/2017, 7:52 PM
    Hi all! I’m having some trouble with the File Management API. Just trying things out in Postman and I’m getting a 500 error. Will put details in thread
    • 1
    • 3
  • f

    frank

    12/04/2017, 8:05 PM
    ^ Resolved, the problem is there was no
    File
    type in my schema. I defined one based on this issue (https://github.com/graphcool/framework/issues/1295) and re-tried the POST and now it works. The documentation for the File Management API (https://www.graph.cool/docs/reference/graphql-api/file-management-eer4wiang0/#uploading-workflow) is perhaps a bit misleading, as it says: “Each project contains a file type by default that provides the possibility to add and modify files.” That suggests to me that the File type gets automatically created behind the scenes. Was it supposed to have been?
    👌 1
  • a

    Andrew Schreiber

    12/04/2017, 8:38 PM
    Trying to update a User's email and password. When I attempt the mutation, I get an error that suggests the field doesn't exist (it does). Suggestions?
  • u

    user

    12/04/2017, 8:40 PM
    @matic commented on @Andrew Schreiber’s file

    https://prisma.slack.com/files/U7PGDP70V/F89GZ9MBN/image.png▾

    : can you send over
    mutation
    and
    schema
    ? 🙂
  • a

    Andrew Schreiber

    12/04/2017, 8:41 PM
    Copy code
    mutation ($id: ID!, $email: String!, $password: String!) {
      updateUser(id: $id, email: $email, password: $password) {
        id
      }
    }
    m
    • 2
    • 1
  • a

    Andrew Schreiber

    12/04/2017, 8:42 PM
  • u

    user

    12/04/2017, 8:48 PM
    @matic commented on @Andrew Schreiber’s file

    https://prisma.slack.com/files/U7PGDP70V/F88RUDGQ0/image.png▾

    : Are you using the legacy project?
  • u

    user

    12/04/2017, 8:52 PM
    @matic commented on @Andrew Schreiber’s file

    https://prisma.slack.com/files/U7PGDP70V/F88RUDGQ0/image.png▾

    : Actually I am a bit lost, as it works for me perfectly 😕 can you send over the entire playground screenshot? 😄
  • l

    lancej

    12/04/2017, 9:03 PM
    Looking at the definition for
    UpdateUser
    , email is not on there. I read that it is not possible to update the email and password of a user, though that was a while ago
  • a

    Andrew Schreiber

    12/04/2017, 9:11 PM
    @matic I am using legacy. @lancej Noticed the same as well, though hoped there might be a workaround
    m
    n
    • 3
    • 5
  • a

    Andrew Schreiber

    12/04/2017, 9:12 PM
  • m

    mwickett

    12/04/2017, 9:13 PM
    @Andrew Schreiber You’ll need to implement some kind of email auth - you need something to handle password hashing and retrieval at a miminum.
  • a

    Andrew Schreiber

    12/04/2017, 9:16 PM
    @mwickett I have the logic to hash the password in a resolver. I'm simply trying to update the field itself at the end of that flow
  • t

    tomhut

    12/04/2017, 9:19 PM
    Does console seem to be down for anyone else?
    n
    i
    • 3
    • 5
  • a

    amann

    12/04/2017, 9:22 PM
    Does anyone have examples of writing unit/integration tests with graphcool?
  • d

    dr-manhattan

    12/04/2017, 9:26 PM
    running the node example locally in docker, does anyone kno the password to the root account in mysql (i’m trying to take a look in the database to see what graphcool is doing at that level)
    m
    • 2
    • 2
  • z

    Zach Hobbs

    12/04/2017, 9:36 PM
    does the graph.cool local (docker) use the same architecture/technology as the backend as a service? (ie, same server code, mysql db backend, etc)
    • 1
    • 1
  • d

    dr-manhattan

    12/04/2017, 9:39 PM
    docs say self-hosted uses mysql. assuming that can be rds-mysql, or aurora as well…?
    d
    • 2
    • 1
  • s

    stton

    12/05/2017, 2:53 AM
    console functions down? getting some errors in the console trying to pull up the log
  • i

    Ishan

    12/05/2017, 4:17 AM
    console functions doesn't load for me also
  • f

    florian

    12/05/2017, 5:00 AM
    Same here
  • r

    rene

    12/05/2017, 7:30 AM
    Hey guys! I wanted to manage my React Native iOS application's local data better. I was thinking of using Apollo to tie my components together with GraphQL queries. Now comes the tricky part. I want to somehow transform the GraphQL request sent from Apollo into modifying CoreData on iOS instead of some network. Does anybody have experience in this and could help me out? Did anybody ever use GraphQL to manage CoreData on iOS?
    j
    • 2
    • 2
  • d

    dohomi

    12/05/2017, 8:37 AM
    does anyone else have some issues both with graphcool CLI and the backend? I’m not able to view the logs
  • d

    dohomi

    12/05/2017, 8:38 AM
    @stton @Ishan you still face the problems?
  • p

    Phu Phan

    12/05/2017, 9:34 AM
    ➕ 1
  • p

    Phu Phan

    12/05/2017, 9:35 AM
    My team can not work on the Functions
  • n

    nilan

    12/05/2017, 9:35 AM
    Currently looking into the function logs problem 🙂
    p
    • 2
    • 3
  • p

    Phu Phan

    12/05/2017, 9:49 AM
    Hi @nilan, when could you fix it? We need it urgently now
  • w

    Wbert

    12/05/2017, 10:25 AM
    Hey, I have a question: I am using the template
    auth/email-password
    . Right now I can create users, but they can’t log in in the app. I am querying the database and the passwords are not encrypted. I want to modify the resolver in order to fix that. but I have no idea about how to achieve that. right now I am changing the fiel signup.ts but I dont see any changes in the server
    n
    • 2
    • 3
1...457458459...637Latest