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

    kdichev

    01/13/2018, 10:36 AM
    https://github.com/graphcool/graphcool/issues/1455 guys do you have any idea why i cannot fetch from a resolver function? I am trying to call local db
  • e

    Emi

    01/13/2018, 11:22 AM
    Are old permission queries done directly in the resolvers with 1.0?
    🤔 1
  • h

    hari mohan

    01/13/2018, 11:37 AM
    hi I am face issue install graphcool npm package on mac
  • h

    hari mohan

    01/13/2018, 11:40 AM
  • k

    kitze

    01/13/2018, 1:03 PM
    @aach make sure to update
    graphcool
    to
    1.0.0-beta4.1.1
    in your package.json in order to get the UI with the tabs on the left
    • 1
    • 1
  • h

    horia.ancas

    01/13/2018, 1:46 PM
    hey guys, I’m trying to wrap my head around what graphcool does and I’m wondering if it’s ok to have graphcool 1.0 as an api responsible for saving the data and then call the api from another graphql server
  • h

    horia.ancas

    01/13/2018, 2:25 PM
    I’m trying to host graphcool 1.0 on my own server, does this mean I need to do
    graphcool cluster add
    ?
    j
    • 2
    • 2
  • l

    lkbr

    01/13/2018, 4:30 PM
    Does anyone know if the Simple API issues resolved yet? https://status.graph.cool/ still says degraded performance.
    a
    • 2
    • 4
  • h

    harmony

    01/13/2018, 4:32 PM
    oh hi @kitze 👋
    k
    • 2
    • 3
  • j

    Joe Fazzino

    01/13/2018, 4:40 PM
    Hi, I'm trying to do image upload with react native by following this https://github.com/graphcool/content/issues/90 but when I do the POST fetch i'm getting a 500 server error back. With the following Headers
    👍 1
  • r

    Rich

    01/13/2018, 6:15 PM
    Hi all -- working on a first project w/Graphcool, built on create-react-app. Everything wires up successfully locally, as I've set the GRAPHQL_ENDPOINT config var in '.env.local' (in root directory). I've also set the same config variable in Heroku. However, when deploying to Heroku, I receive "Error: Couldn't find a GraphQL config." I've tried creating a .graphqlconfig file, but that doesn't seem to do the trick. Assuming there's a simple solution, can anyone point me in the correct direction?
  • h

    harmony

    01/13/2018, 6:52 PM
    which version?
  • p

    playra

    01/13/2018, 7:42 PM
    Link to this example does not work https://github.com/graphcool/graphcool
  • j

    johhansantana

    01/13/2018, 8:12 PM
    hey guys, anyone has had a chance to deploy the new 1.0 graphcool to a private server?
  • h

    harmony

    01/13/2018, 8:19 PM
    haven't done it yet, but I don't see anything hard with it
  • j

    johhansantana

    01/13/2018, 8:24 PM
    I've tried it but when I do
    graphcool deploy
    it just stays there in a loop without doing anything
  • h

    harmony

    01/13/2018, 8:31 PM
    oh wait
  • h

    harmony

    01/13/2018, 8:31 PM
    you want to deploy the database to your server
  • j

    johhansantana

    01/13/2018, 8:50 PM
    yeah with docker
  • j

    johhansantana

    01/13/2018, 8:51 PM
    or what's the best method?
  • j

    Jonathan Romano

    01/13/2018, 9:49 PM
    I'm able to do it fine
    j
    • 2
    • 16
  • w

    windkomo

    01/13/2018, 10:05 PM
    Hi guys! I want to filter some data by location:
    Copy code
    type Item @model {
        id: ID! @isUnique
        location: Location @relation(name: "ItemLocation")
    }
    
    type Location @model {
      id: ID! @isUnique
      placeId: String! (this is from the google places API)
      label: String!
    }
    Would it be possible to implement something like a custom filter with graphcool?
    Copy code
    query {
         items(filter: {  location_inside: $location  }) {
              id
         }
    }
    I want something like, give me all items with location inside if an Item has location Berlin, it would be in these any ideas? (I’m still using the legacy console, but am willing to migrate)
  • j

    Jonathan Romano

    01/13/2018, 10:48 PM
    I know in 1.0, you'd just build that in your resolver
  • w

    windkomo

    01/13/2018, 10:56 PM
    thanks, going to read that migration doc then
  • j

    Jonathan Romano

    01/14/2018, 12:25 AM
    Looks like the main docs are working, but the 0.x/1.0 links are not
  • u

    user

    01/14/2018, 8:30 AM
    @pavship commented on @Alex Bloch’s file

    https://prisma.slack.com/files/U8S4QUWH2/F8SCH4Y3X/image.png▾

    : just go to https://console.graph.cool
  • h

    horia.ancas

    01/14/2018, 9:27 AM
    hey, how can I create my own graphcool cluster to deploy to?
    j
    • 2
    • 1
  • m

    Maslov

    01/14/2018, 9:48 AM
    Hello. I have to clear all likes (relation), how can I do it? Will this code correct?
    Copy code
    mutation {
      removeFromUserLikes(likesPostId: "*") {
        likedUsersUser {
          id
        }
      }
    }
  • m

    Maslov

    01/14/2018, 9:51 AM
    probably I have to use schema update for this?
  • m

    Maslov

    01/14/2018, 10:31 AM
    trying to migrate on the beta version, but found there is no resolvers, only subscriptions
    j
    • 2
    • 1
1...507508509...637Latest