https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • l

    leafyshark

    12/06/2018, 10:12 PM
    because I'm not returning null, I'm returning something that isn't null
    j
    • 2
    • 3
  • l

    leafyshark

    12/06/2018, 11:15 PM
    Is there any reason why this wouldn't work?
  • l

    leafyshark

    12/06/2018, 11:16 PM
    -.php
  • l

    leafyshark

    12/06/2018, 11:17 PM
    It returns excatly what's in the prisma.graphql file - that is type ItemConnection. However it always errors out to 'Cannot return null for non-nullable field ItemConnection.aggregate' - it just logically doesn't make any sense. Any help would be appreciated šŸ™‚
  • n

    NicolƔs Flores Montenegro

    12/07/2018, 12:38 AM
    how did you define your resolver?
  • n

    NicolƔs Flores Montenegro

    12/07/2018, 12:39 AM
    sorry, your schema
  • t

    TangoJuliett

    12/07/2018, 12:59 AM
    Prisma seems to pluralize ā€˜logo’ as ā€˜logoes’
  • j

    jonatan

    12/07/2018, 1:26 AM
    Anyone else got a problem with
    prisma login
    ? I get this message after granting permission in the browser and returning to the terminal:
    'ENOENT': spawn cmd ENOENT
    .
    j
    • 2
    • 1
  • s

    sf

    12/07/2018, 1:27 AM
    prisma login
    isn't working for me. I was just working through the tutorial and am seeing this when I try
    login
    as well as
    deploy
    + select demo server
    šŸ‘Œ 1
    j
    • 2
    • 3
  • j

    Jim

    12/07/2018, 2:49 AM
    For people hosting with Heroku, what resources are you using? When I had 1 dyno with 512 MB RAM I was getting a load of memory errors even though I was the only traffic. Upgrading to 1GM RAM seems to be OK but I’ve got a mini launch later today. I’m expecting 50 - 100 users. What sort of resources am I likely to need?
    a
    t
    • 3
    • 4
  • f

    Fran Dios

    12/07/2018, 6:40 AM
    How do you normally import types from Prisma into your API SDL? Do you duplicate them? I’m trying to use
    graphql-import
    but it doesn’t seem to be very reliable. Any alternative?
  • m

    Medhi

    12/07/2018, 8:45 AM
    Hi, what is the difference between Graph-Cool and Prisma, is it the same service ? I am confused
    j
    d
    • 3
    • 4
  • v

    Vittorio Adamo

    12/07/2018, 9:24 AM
    Hi All! šŸ‘‹šŸ»
    šŸ‘‹ 5
  • n

    notrab

    12/07/2018, 9:36 AM
    Anyone else receiving error an error when using app.prisma.io?
    Copy code
    Syntax error while parsing GraphQL query. Invalid input "{}", expected OperationDefinition, FragmentDefinition or TypeSystemDefinition
    Looks like no queries are being sent for Data Browser & Deployment History
  • a

    Alireza Ghamkhar

    12/07/2018, 10:18 AM
    hey everyone, i’m using apollo in react native. for some reasons i want to call setState inside the
    updateQuery
    (which is inside
    props.data.subscribeToMore
    ) but when it is called i get this warning
    can't call setState( or forceUpdate) on an unmounted component...
    . anyone know the reason or has any solution. i would appreciate if anyone could help me šŸ™‚
  • a

    Alejandro Estrada

    12/07/2018, 2:55 PM
    Hello! can anyone share me how do you test your queries / mutations?
  • t

    TangoJuliett

    12/07/2018, 3:38 PM
    Just want to reiterate that Prisma is pluralizing ā€˜logo’ as ā€˜logoes’ instead of ā€˜logos’
  • n

    nwmqpa

    12/07/2018, 4:05 PM
    Is there a way to know if subscription was returned because of a relation change ? And to know what was the precedent relation ?
    v
    t
    • 3
    • 2
  • d

    danday

    12/07/2018, 5:07 PM
    Hi! Has anyone encountered an error trying to login today? I typed prisma login into my terminal, and when I click ā€˜grant permission’ in the pop up browser, I get ā€œNetwork error: Unexpected token < in JSON at position 0ā€
  • d

    danday

    12/07/2018, 5:07 PM
    a
    t
    g
    • 4
    • 4
  • d

    danday

    12/07/2018, 5:21 PM
    One more question, I am trying to access prisma but my workplace blocks certain connections. To use npm for example I have to type ’npm config set proxy http://etc'
  • d

    danday

    12/07/2018, 5:21 PM
    Is there a way I can set up a proxy for prisma to use a different port?
  • d

    danday

    12/07/2018, 5:21 PM
    Thank you!
  • r

    roberto.guerra

    12/07/2018, 5:24 PM
    you should be able to channel traffic through the same proxy
  • d

    danday

    12/07/2018, 5:25 PM
    i tried typing prisma config set proxy but got ā€˜config set’ is not a prisma command.
  • a

    Andres Montoya

    12/07/2018, 5:33 PM
    Hi, I have one question about hooks of react, the hook useReducer replace to redux?
    t
    t
    • 3
    • 3
  • d

    danday

    12/07/2018, 7:28 PM
    ā€œTo activate the proxy, provide the environment variables HTTP_PROXY and HTTPS_PROXY. ā€ Does anyone know where exactly I provide these? In an env file? Thank you
    t
    • 2
    • 6
  • h

    Hasen

    12/07/2018, 8:44 PM
    Hi, question, is it possible to require cli login or auth for self hosted servers?
    v
    • 2
    • 2
  • s

    sf

    12/07/2018, 10:04 PM
    Following the nodejs tutorial, I'm wondering about the existence check for Vote. In the presence of concurrent vote mutation requests, could this be a race condition where you could end up with duplicate votes? https://github.com/howtographql/graphql-js/blob/master/src/resolvers/Mutation.js#L52-L60
    šŸ‘ 1
  • v

    Viable

    12/07/2018, 11:44 PM
    Hi, should I commit the
    /generated
    folder to git?
    n
    • 2
    • 2
1...173174175...637Latest