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

    patcito

    08/12/2018, 8:00 PM
    hi
  • p

    patcito

    08/12/2018, 8:00 PM
    does anyone know if these templates work with prisma or do they work only with graphcool? https://github.com/prismagraphql/templates/tree/master/auth
    t
    • 2
    • 1
  • q

    qsys

    08/12/2018, 10:02 PM
    for some reason, I'm stuck with deployment with the graphcool cli:
    Copy code
    There are issues with the new service definition:
    
      Global
        ✖ For input string: "null"
    I'm not sure where I have a 'null', and all my required string-fields (there's only 1 🙂 ) have a value.
  • q

    qsys

    08/12/2018, 10:03 PM
    what does this error exactly mean? Can I get more information what graphcool is missing (where it found a null that shouldn't be there)?
  • q

    qsys

    08/12/2018, 10:10 PM
    it used to work fine, tried a change, didn't work, and ever since, even after reverting all changes, I can't even deploy my original version.
  • q

    qsys

    08/12/2018, 10:11 PM
    I'd really like to have a little more information than
    For input string: "null"
    - I honestly have no clue where to start searching.
  • q

    qsys

    08/12/2018, 10:11 PM
    or even what it means 😛
  • q

    qsys

    08/12/2018, 10:16 PM
    it seems I'm not the only one not understanding what's going on 😛?
  • q

    qsys

    08/12/2018, 10:19 PM
    or is there a way to sync from server?
  • q

    qsys

    08/12/2018, 10:29 PM
    ok, so I could deploy to another environment, so it must be data, right? I deleted all my data on the failing environment, and guess what: it still doesn't work. Something must be messed up there, but I can't get to it...
  • q

    qsys

    08/12/2018, 10:30 PM
    so, where can I get some help to make it work fine again? thx.
  • q

    qsys

    08/12/2018, 10:34 PM
    did a data reset, still failing.
  • q

    qsys

    08/12/2018, 10:54 PM
    digging a bit deeper, it is probably some java error, something expecting not a null for sure, but it seems to be happening with a NumberFormatException... I still don't get why I can get an issue with my data if I don't have any 😛
  • q

    qsys

    08/12/2018, 10:57 PM
    I don't have string
    null
    in my data, that's for sure, so where is it?
  • g

    Gorodov Maksim

    08/13/2018, 4:39 AM
    where can i find code for resetting password? Seems like all templates are outdated - https://github.com/prismagraphql/templates/tree/master/outdated/auth/email-user-management/functions/reset-password
  • s

    Slackbot

    08/13/2018, 4:45 AM
    This message was deleted.
    🤮 1
    🤬 2
    a
    n
    +3
    • 6
    • 19
  • q

    qsys

    08/13/2018, 7:35 AM
    anyone, pls?
    m
    • 2
    • 14
  • l

    Lucas Munhoz

    08/13/2018, 8:01 AM
    Anyone having problems to access the website docs?
    d
    n
    • 3
    • 7
  • l

    Lucas Munhoz

    08/13/2018, 8:01 AM
    I am getting a HTTP 508 since yesterday
  • m

    Moritz

    08/13/2018, 8:12 AM
    Hi all, im building a public boilerplate for prisma and am wondering: Can I run the prisma codegen without actually deploying my prisma database?
    graphql codegen
    complains when I dont specify an endpoint?
    Copy code
    ✖ 
    Invalid URL: __PRISMA_ENDPOINT__
    j
    n
    • 3
    • 4
  • l

    Luke

    08/13/2018, 8:22 AM
    How come that in the github repository of Prisma most of the language used is Scala, but when I install Prisma, it's just Javascript/Typescript and no Scala?
    d
    n
    • 3
    • 13
  • r

    rein

    08/13/2018, 9:14 AM
    hi guys, for those of you who are working with mobile apps in combination with Prisma, can I ask how you would model notifications? I have different types of notifications, such as likes, comments, follower, tag, ... but I m not sure what the best approach is to model those as data structure. Since there is still no interface type in Prisma, Im checking other options but id be curious to hear if anyone else here already has encountered/solved this problem. Cheers!
    j
    m
    w
    • 4
    • 27
  • n

    nilan

    08/13/2018, 10:04 AM
    Anyone curious in sharing job listings or finding others to collaborate with in general, head over to #job-listings 🙂
    👍 5
    🦜 1
  • m

    Moritz

    08/13/2018, 6:44 PM
    Hi, I have a nooby question: How can I add a status code to a error thrown in the yoga typescript middleman, like for example a 401 that is then recognized by the client?
  • p

    patrick

    08/13/2018, 7:50 PM
    Hey folks, I’ve set managementApiSecret in my Kubernetes config map, but it seems that the server cannot retrieve the env var at runtime:
    Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).
    Copy code
    apiVersion: v1                                                                                                                                                                                                                            
     kind: ConfigMap                                                                                                                                                                                                                           
     metadata:                                                                                                                                                                                                                                 
       name: prisma-configmap                                                                                                                                                                                                                  
       namespace: prisma                                                                                                                                                                                                                       
       labels:                                                                                                                                                                                                                                 
         stage: production                                                                                                                                                                                                                     
         name: prisma                                                                                                                                                                                                                          
         app: prisma                                                                                                                                                                                                                           
     data:                                                                                                                                                                                                                                     
       PRISMA_CONFIG: |                                                                                                                                                                                                                        
         port: 4466                                                                                                                                                                                                                            
         managementApiSecret: XXXXX                                                                                                                                                                                                 
         databases:                                                                                                                                                                                                                            
           default:
    n
    • 2
    • 1
  • c

    Christian Ruff

    08/14/2018, 5:29 AM
    Hi, is there somebody from sales and support? Looking for some help regarding data privacy.
    n
    • 2
    • 2
  • r

    Raeesaa

    08/14/2018, 9:07 AM
    Hi. I am seeing this weird issue with subscription where despite of sending "stop" message from client, server sends data back to client for stopped id. We are using graphql-yoga on server along with Prisma binding. Has anyone else seen such issue before? Also, I am not sure if this issue is specific to graphql-yoga server but if I subscribe to Prisma endpoint directly, I don't see this issue.
    n
    • 2
    • 4
  • r

    Raeesaa

    08/14/2018, 9:07 AM
  • l

    Lucas Munhoz

    08/14/2018, 9:52 AM
    Hey folks, how can I accomplish the same typings generation for my graphql layer? I have the following .graphqlconfig:
    Copy code
    projects:
      app:
        schemaPath: src/graphql/schema.graphql
        extensions:
          endpoints:
            dev: <http://localhost:3003/graphql>
          codegen:
            - generator: typegen
              language: typescript
              output:
                typings: typings.ts
      prisma:
        schemaPath: src/generated/prisma.graphql
        extensions:
          prisma: prisma.yml
          codegen:
            - generator: prisma-binding
              language: typescript
              output:
                binding: src/generated/prisma.ts
    • 1
    • 1
  • l

    Lucas Munhoz

    08/14/2018, 9:53 AM
    The prisma types are generated, but for my app I just get an empty file. 😕
1...979899...637Latest