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

    Isaac Weber

    11/21/2019, 2:59 PM
    Ideally I would be able to do something like prisma deploy --url http://name-e-publi-abcdefg-1231231.us-east-2.elb.amazonaws.com/workspace/production
  • i

    Isaac Weber

    11/21/2019, 3:00 PM
    I know that is not a flag you can pass though
  • n

    Noel Kriegler

    11/21/2019, 3:02 PM
    @Isaac Weber you can use env variables
    i
    • 2
    • 11
  • t

    tej

    11/21/2019, 11:14 PM
    Thanks for a great meetup everybody! @Etel and team — you made it such a wonderful evening! Appreciate you all!
  • m

    Manav Dhindsa

    11/22/2019, 12:25 AM
    Hi I encountered an error when trying to setup Prisma with an existing Postgres database, is anyone able to help?
  • m

    Manav Dhindsa

    11/22/2019, 12:28 AM
  • m

    Manav Dhindsa

    11/22/2019, 12:29 AM
    The error happens when introspecting the database, it says "Cannot read property 'fields' of undefined". I cannot find any information about this error on the Prisma forums
  • n

    Nesh

    11/22/2019, 5:47 AM
    Trying to turn on logging for SQL queried
  • n

    Nesh

    11/22/2019, 5:47 AM
    but i see no updates on this issue
  • n

    Nesh

    11/22/2019, 5:47 AM
    https://github.com/prisma/prisma/issues/2833
  • n

    Nesh

    11/22/2019, 5:47 AM
    ^ @nikolasburk @divyendu
  • h

    Hung Tran

    11/22/2019, 11:20 AM
    hi, I'm interested in contributing to graphql-playground project in my spare time. However, it seems inactive for a while. Any contact point in the project that I can talk to?
    👍 1
    k
    • 2
    • 1
  • m

    Matt Mueller (Prisma Client PM)

    11/22/2019, 12:15 PM
    Poll: which package manager do you most often use with node.js? 🐈 Yarn 📦 NPM 😶 Other (please reply with what you use)
    📦 18
    😶 1
    🐈 19
  • v

    vjsingh

    11/22/2019, 3:34 PM
    Getting intermittent connection issues from my Prisma 1 docker server this morning. Has anyone ever reset their docker container? Any advice? I’m not exactly sure what this means ” Be careful as these commands will reset all data in your local Prisma server (including deployed Prisma APIs).”
    d
    • 2
    • 7
  • e

    ed

    11/22/2019, 6:01 PM
    Hi prisma team, is there any conector/way to use it with Oracle DB?
  • a

    Albert Gao

    11/24/2019, 9:37 AM
    Hi, everybody. Prisma2 looks pretty elegant. I have an app that needs to release next April, is it fine for me to use Prisma 2 from now? Will Prisma 2 be
    1.0
    that time? Thanks 🙂
    m
    • 2
    • 2
  • s

    Shubham Maurya

    11/24/2019, 3:51 PM
    Hello everyone, I have created group for react-native developer help. If any one know react-native please join this slack group. https://join.slack.com/t/reactnativehelper/shared_invite/enQtODQ3MjAxNTE2ODAwLTM1YzBiM2ZhNWQ4ZGRjNzdmZjliNzM2NDMxMDNmMzlkNTUwYjNiMWMyMzdjYWExMmFjZmE4YTcyMTUzZTAwN2E
  • a

    andrew bantug

    11/24/2019, 5:43 PM
    Hello everyone, I'm pretty new to Prisma and graphql world, thanks in advance for any help. I'm setting up a schema for a new project. My question concerns 3 different types and the best way to construct a certain relation. I'm calling these types
    Person
    ,
    Business
    , and
    Contact
    . A person can have many contacts and a business can have many contacts. A Contact should relate back to one node. In the frontend application, I'd like to be able to do a kind of global search. For example, query a phone number and get back the person/business associated with that phone number. My question is how can I say that a contact should relate back to a person or a business? I haven't been able to find a way. My idea is to store the ID of the person/business as a field called ref and lookup the person/business after a match with phone number has been made. I get the feeling this might be somewhat anti-pattern. Any guidance would be appreciated. Snippet below for context
    Copy code
    type Contact {
        id: ID! @id
        type: ContactType
        contact: String @unique
        ref: ID
    }
    
    type Person {
        id: ID! @id
        createdAt: DateTime! @createdAt
        updatedAt: DateTime! @updatedAt
        firstName: String
        lastName: String
        phone: [Contact]
        email: [Contact]
        ...details
    }
    
    type Business {
        id: ID! @id
        createdAt: DateTime! @createdAt
        updatedAt: DateTime! @updatedAt
        name: String
        phone: [Contact]
        email: [Contact]
        ...details
    }
    t
    • 2
    • 17
  • s

    Seppe Snoeck

    11/24/2019, 6:37 PM
    Hi, I am following the Getting started with TypeScript series. But I stumbled upon an error.
    TypeError: nexus_prisma_2.prismaObjectType is not a function
    Is there something I am doing wrong or is this tutorial outdated? https://www.prisma.io/docs/1.34/get-started/03-build-graphql-servers-with-prisma-TYPESCRIPT-t201/#implement-graphql-api-based-on-crud-building-blocks
    t
    • 2
    • 2
  • n

    Naimur Rahman

    11/25/2019, 4:38 AM
    Hello guys. I'm new here
  • n

    Naimur Rahman

    11/25/2019, 4:39 AM
    I'm facing some problem. Let me share
  • n

    Naimur Rahman

    11/25/2019, 4:41 AM
    This is my schema. But when I'm deploying it saying to add relation name to point User and Project. But If I put same relation on
    User!
    and
    [User!]
    It's telling me to not use same relation name. How to get rid of it?
    Untitled
  • a

    Albert Gao

    11/25/2019, 6:54 AM
    Hi, guys. Is there a working example of Prisma 2 with Typescript? I tried all the example in the
    prisma-examples
    , none of them works. https://github.com/prisma/prisma-examples/issues/1024
  • n

    Naimur Rahman

    11/25/2019, 6:59 AM
    It risky to use prisma 2 now. It's on development. I'm also waiting to use prisma 2
  • a

    Albert Gao

    11/25/2019, 7:19 AM
    😀Just wanted to try, seems still need to wait
  • n

    Naimur Rahman

    11/25/2019, 7:27 AM
    Yes.
  • m

    Martin Benjamin

    11/25/2019, 8:19 AM
    Hello everyone, I’ve a question about Nested Mutation. I’ve a simple usecase where the user complet a product form with multiple fields like this. - Product Title - Product Category - Product Brand I want to allow the User to post all this informations in one time. Sometimes the category already exist in database, sometimes not… Same for the Brand. In my schema.graphql, i’ve created this mutation
    Copy code
    createProduct(name:String! brand:Brand!, productType:ProductType!): Product
    My GraphQL server return to me an error and says that i need to create an INPUT type.
    e
    • 2
    • 8
  • m

    Martin Benjamin

    11/25/2019, 8:20 AM
    But i found nothing about INPUT TYPE and Prisma on google
  • e

    Eric Do

    11/25/2019, 8:23 AM
    cuz it's graphql specs not prisma :))
  • l

    Lars Ivar Igesund

    11/25/2019, 8:37 AM
    Hi, I'm trying to evaluate/test prisma in combination with react-admin. At some point, ra-data-opencrud was made as a dataprovider to bridge the two, but I feel that I am missing something. I have run the Prisma getting started tutorial (except using apollo instead of yoga as apollo is what react-admin uses). So my first stupid question - the schema exposed/published in my index.ts (with Post and User from the datamodel) - doesn't appear to include the CRUD operations that I see in my generted client?
    • 1
    • 1
1...334335336...637Latest