https://www.prisma.io/ logo
Join Slack
Powered by
# prisma1-community
  • j

    Jainam Mehta

    08/17/2020, 3:49 PM
    Why am i getting this error even though I don't have prisma secret
  • s

    Suhail

    08/18/2020, 7:03 AM
    How could I connect to a remote MySQL using prisma docker file?
    Copy code
    version: '3'
    services:
     prisma:
      image: prismagraphql/prisma:1.34
      restart: always
      ports:
       - '4466:4466'
      environment:
       PRISMA_CONFIG: |
        port: 4466
        databases:
         default:
          connector: mysql
          host: <http://test.mysql.database.azure.com|test.mysql.database.azure.com>
          port: 3306
          user: prod
          password: 23#$
    # mysql:
    #  image: mysql:5.7
    #  restart: always
    #  environment:
    #   MYSQL_ROOT_PASSWORD: prisma
    #  volumes:
    #   - mysql:/var/lib/mysql
    #volumes:
    # mysql: ~
  • s

    Suhail

    08/18/2020, 7:04 AM
    If I try the above, I get an error
  • s

    Suhail

    08/18/2020, 7:05 AM
    Copy code
    ERROR: Invalid interpolation format for "environment" option in service "prisma": "port: 4466
    databases:
     default:
      connector: mysql
      host: <http://test.mysql.database.azure.com|test.mysql.database.azure.com>
      port: 3306
      user: prod
      password: 23#$
    "
    r
    • 2
    • 1
  • s

    Suhail

    08/18/2020, 7:05 AM
    @Ryan
  • a

    Armaan Dhanji

    08/18/2020, 8:16 AM
    Has anyone managed to succeed in deploying Prisma 1 Server to Render? (render.com)
  • a

    Armaan Dhanji

    08/18/2020, 8:17 AM
    Render doesn't support docker-compose
  • s

    Sachin Jani

    08/18/2020, 2:32 PM
    I tried using relation type as per prisma 1's new datamodel syntax and it works fine with typescript dev server but when I run the
    tsc
    build it throws this error. This issue is of nexus-prisma-generate I think. blog ref: https://www.prisma.io/blog/datamodel-v11-lrzqy1f56c90 by @nikolasburk
    • 1
    • 4
  • m

    Melvin Pacheco

    08/22/2020, 6:19 PM
    Hello Everyone, Im working on an api to manage a list of videos, I save each video item in the database like so
    Copy code
    type Video {
        id: ID! @id
        name: String! @unique
        slug: String @unique
        description: String!
        image: String
        url: String
    }
    
    type Playlist {
        id: ID! @id
        name: String!
        slug: String
        videos: [Video]
    
    }
    however, I would like to also mix in youtube videos, the data structure will be the same, since the youtube videos don’t exist in the db, I can’t do
    Copy code
    connect: {
     id: video.id,
    },
    my question is, do I have to create an item in the db for the youtube video? or can I just add an item to the playlist on the fly?
    r
    b
    • 3
    • 2
  • s

    Suhail

    08/30/2020, 5:48 AM
    I am getting an error  
    "Not implemented: com.prisma.shared.models.TypeIdentifier$Int$@14c36e39BsonDouble{value=1.5909498E9}"
     when using Prisma 1 + Mongo . Anyone aware what does this mean?
  • s

    Suhail

    08/30/2020, 6:19 AM
    Alright, I got it.
  • m

    Melvin Pacheco

    09/03/2020, 7:29 PM
    hello everyone, I need to a a third party schema to the typeDefs currently is looks like this
    Copy code
    typeDefs: 'src/schema.graphql',
    just a string path, however, I need to also add this schema
    Copy code
    const { schema, resolvers } = gapiToGraphQL({ gapiAsJsonSchema: YouTubeAPI })
    how can I combine them? thanks in advance
    r
    • 2
    • 2
  • s

    Steven

    09/04/2020, 3:41 PM
    Hi guys I have a problem with which I have tried different ways to solve it but do not find the right one I need your help please, it turns out that I have two related collections, and I want to bring all user appointmets but that the json includes the user's infomation, help me pleasee :c
    f
    • 2
    • 2
  • j

    Jeanre Swanepoel

    09/07/2020, 11:28 AM
    has anyone here got links to polymorhism with prisma?
  • a

    Alan

    09/08/2020, 3:26 AM
    With
    prisma2
    if we want to keep the approach
    SDL first
    (ie not using Nexus) what would be the best tool which is replacing
    prisma1 deploy
    in order to generate the GraphQL schema?
    r
    • 2
    • 1
  • y

    yilmazito

    09/08/2020, 11:49 PM
    Hi Folks! I m using prisma 1 with node.js, postgresql and docker. after i added a new field to the User type in datamodel.schema, I deployed but playground schema docs is not updated. I tried to retart the docker containers. and I also run "docker-compose up -d" again but still docs are not updated. Thanks!
    r
    • 2
    • 1
  • d

    David Gwon

    09/09/2020, 2:01 AM
    Hello, I have a Question, Our company used prisma 1, but Server shutdown Frequently... 😭
    y
    r
    • 3
    • 9
  • d

    David Gwon

    09/09/2020, 2:02 AM
    I'd like to migrate from Prisma 1 to Prisma 2, is that a good choice?
    r
    • 2
    • 1
  • d

    David Gwon

    09/09/2020, 2:13 AM
    Plz Answer me 😿
  • m

    Moray Macdonald

    09/10/2020, 3:28 PM
    Is there are a way to increase the task queue limit from 1000, or to batch read/write jobs? We’re finding that some of the bulk operations in our application are hitting this limit and failing
  • m

    MagmaStorm

    09/14/2020, 6:16 PM
    Greetings, this is Magma here. I am having an issue with
    prisma-deploy
    where it is taking too much time to
    deploy changes
    . Can anyone please help me out ?
    r
    • 2
    • 12
  • m

    Moray Macdonald

    09/15/2020, 1:01 PM
    Hi, I’ve got a question about inline relationships. As the foreign key for this relationship is stored inline in the same table as the root basic fields, is there any way to resolve the foreign key value as a root field? At the moment I’m having to run extra queries to resolve this field which is leading to n+1 query problems
    r
    • 2
    • 13
  • m

    Moray Macdonald

    09/17/2020, 7:27 AM
    Morning everyone, is there any way to monitor and analyse the task queue when running prisma 1 in docker? Our production server has suddenly got a permanently full task queue (1000 tasks) and I'd quite like to find out why!
    r
    • 2
    • 6
  • j

    Jesper O. Christensen

    09/17/2020, 8:55 AM
    Hi I recently change my prisma passwords for my self-hosted prisma server. But now the app.prisma.io cant connect to it any longer? what am i missing?
    r
    • 2
    • 2
  • j

    Juan Varela

    09/17/2020, 1:35 PM
    Hey guys! Quick question maybe somebody can guide me along. For some reason prisma the result of a query in prod is returning null, with no errors: This is what it looks like in dev and staging.
    {
    "data": {
    "login": null
    },
    "errors": [
    {
    "message": "Could not found associated email",
    "locations": [
    {
    "line": 2,
    "column": 3
    }
    ],
    "path": [
    "login"
    ]
    }
    ]
    }
  • j

    Juan Varela

    09/17/2020, 1:36 PM
    but in prod it’s just returning:
    Copy code
    "data": {
        "login": null
      },
  • j

    Juan Varela

    09/17/2020, 1:36 PM
    any idea why this might be?
  • j

    Juan Varela

    09/17/2020, 1:36 PM
    I’m guessing prisma is getting the prod NODE_ENV and hiding the errors for security reasons
  • j

    Juan Varela

    09/17/2020, 1:37 PM
    but I cant find any documentation about it
    r
    j
    • 3
    • 50
  • k

    khareta

    09/22/2020, 2:47 PM
    Hello, Prisma 1 docs server is still down. Any other way to access the docs right now?
    r
    j
    • 3
    • 28
12345...10Latest