https://www.prisma.io/ logo
Join Slack
Powered by
# random
  • b

    Briggs

    06/21/2019, 7:01 PM
    Hey Harvey anyone in here have feedback for him. I gave him prisma as a recommendation
    👍 1
  • m

    Matt B.

    06/26/2019, 7:04 PM
    Hello! I'm have trouble using an environment variable within a prisma.yml file: endpoint: ${env:PRISMA_SERVICE_ENDPOINT} datamodel: datamodel.prisma generate: - generator: javascript-client output: ../../data/system/client - generator: graphql-schema output: ../../data/system/graphql/prisma.graphql I have the variable set, but it fails when I run prisma delpoy: â–¸ [WARNING] in /home/tron/Projects/Prisma/hello-world/data/system/prisma.yml: A valid environment variable to satisfy the declaration 'env:PRISMA_SERVICE_ENDPOINT' could not be found. According to the docs, this should work, any help?
  • b

    Bill Pliske

    06/27/2019, 2:34 PM
    Thanks in advance for feedback. Looking for your dev thoughts here for the local dev environment part of an “other server” setup. When starting your project, many of the guides say to: 1)
    mkdir prisma
    2)
    cd prisma
    , and install prisma globally, or with homebrew, etc. 3) Run
    prisma init hello-world
    4) Choose name for your service:
    hello-world
    ONE QUESTION A) Does the “service name” need to match the name you used in the “init” step?
    h
    • 2
    • 2
  • s

    Sriharsha Guduguntla

    06/28/2019, 10:59 PM
    Could someone help me out with deploying a backend GraphQL API I built with graphql-yoga, prisma, mongodb, and docker Here is my stackoverflow post: https://stackoverflow.com/questions/56810911/prisma-mongodb-docker-request-to-http-localhost4466-failed-reason-conne/56813364#56813364 I've been searching the internet for days but I can't seem to find a solution to this issue.
  • e

    Ehsan sarshar

    06/30/2019, 11:35 AM
    prisma deploy to local contianer take 130.0s
  • e

    Ehsan sarshar

    06/30/2019, 11:35 AM
    how to solve
  • e

    Ehsan sarshar

    06/30/2019, 1:01 PM
    no one to answer
  • n

    Natalie Cyreus

    06/30/2019, 5:01 PM
    I am stuck, I want to create a mutation to create two connected types at once. I am using the id of the types to connect them to each other. So to connect them I need the id, but I would like to create them in the same mutation. Anyone that can point me to the right documentation?
    j
    • 2
    • 3
  • b

    Bill Pliske

    07/01/2019, 3:59 PM
    1) I've got a Digital Ocean droplet. 2) I see myself wanting to create AppA, AppB, and AppC on this droplet, each of these apps running Prisma. 3) Each app would have a different schema. AppA might have user, post, and comment. AppB might have document, link, outline. AppC might have user, wishes, category. 4) What's the best practice approach for having dev/prod endpoints for each? 5) Asking because I read that Prisma doesn't allow for multiple DBs. So assuming I need to be creative with my app schemas. Ex: _app_a_user_, _app_c_user_, etc ... prefix them all, since they'll all be tables in the same DB. Thoughts?
    d
    • 2
    • 1
  • d

    Daniel Agbaji

    07/01/2019, 5:26 PM
    Hello guys. Does anyone know why I keep getting this errors when trying to use Relay with GraphQL? ” The (relay-query) Babel 5 plugin is being run with an unsupported Babel version.” Please I need some help here. Thanks1
    b
    • 2
    • 1
  • e

    Ehsan sarshar

    07/02/2019, 11:48 AM
    what's the difference between [Data!]! and [Data]!
    p
    • 2
    • 16
  • e

    Ehsan sarshar

    07/02/2019, 1:31 PM
    [Data!] result => [] , null and [Data!]! result => [some], [] is this right?
    b
    • 2
    • 2
  • s

    Slackbot

    07/03/2019, 1:04 PM
    This message was deleted.
    p
    e
    • 3
    • 2
  • e

    Ehsan sarshar

    07/03/2019, 1:27 PM
    can anyone please help with my data model? type Contact @embeded { id: ID! @id phoneNumber: String mobileNumber: String country: String city: String street: String state: String geoLocation: GEOJSON } type GEOJSON @embeded { id: ID! @id type: String! coordinates: [Float!] } type User { id: ID! @id firstName: String! lastName: String! userName: String! @nuique email: String! @unique password: String! photos: ProfilePhoto about: String! contact: Contact } so when I deploy it says Contact Ă— The field
    geoLocation
    must provide a relation link mode. Either specify it on this field or the opposite field. Valid values are:
    @relation(link: INLINE)
    b
    • 2
    • 8
  • h

    Henry

    07/03/2019, 1:39 PM
    @Ehsan sarshar try removing all ids from
    @embedded
    types. embedded types cannot have unique fields https://www.prisma.io/docs/datamodel-and-migrations/datamodel-MONGO-knun/#embedded-types
  • e

    Ehsan sarshar

    07/03/2019, 1:40 PM
    my last model was without Id but when i deploy it. it also complain that it should have Id even I searched it in google and I can't find any solution
  • h

    Henry

    07/03/2019, 1:46 PM
    "an embedded type never has its own collection" it shouldn't ask for an id field. wud like to see ur last datamodel
  • e

    Ehsan sarshar

    07/03/2019, 2:00 PM
    this is the result of removing id Contact Ă— One field of the type
    Contact
    must be marked as the id field with the
    @id
    directive. GEOJSON Ă— One field of the type
    GEOJSON
    must be marked as the id field with the
    @id
    directive.
  • h

    Henry

    07/03/2019, 9:01 PM
    @Ehsan sarshar just want to be sure that you are connecting the prisma server to MongoDB, right?
    e
    • 2
    • 2
  • j

    Jeany Meza

    07/04/2019, 8:16 AM
    Anyone has worked with prisma subscriptions? I’m trying to parse a subscription from my apollo gateway subscription to a prisma subscription but I am unaware of the best practices to doing so.
    h
    • 2
    • 2
  • t

    tiomno

    07/06/2019, 3:28 AM
    https://2019.stateofcss.com/
  • v

    vacom

    07/07/2019, 2:44 PM
    Is there plans to release Prisma Day videos?
    👍 3
    h
    • 2
    • 1
  • n

    Nick

    07/07/2019, 11:17 PM
    The recordings from prisma day when’re they going to get uploaded?
    h
    • 2
    • 1
  • s

    Sohail Khan

    07/08/2019, 10:09 AM
    Is there any Long Int type for datamodel.prisma
    h
    • 2
    • 1
  • p

    patrick

    07/10/2019, 8:13 AM
    Hi guys. I have question. I run
    prisma init
    and select exist database and mysql but cli don't ask me ssl options. postgres ask that. I install prisma cli v 1.34.1
  • p

    patrick

    07/10/2019, 8:17 AM
    I want Introspection but I can't use function because of ssl option fail
  • a

    Andrew O.

    07/10/2019, 7:53 PM
    Where is the nexus channel?
  • m

    Miguel Tejeda

    07/11/2019, 5:27 PM
    Good afternoon guys! question. I am planning on building a blog that only I can post, and readers can ONLY upvote or downvote. I got the inspiration from the great howtographql tutorial. My question: could use the demo database that AWS provides? or should I use mysql or a mongoDB? also, would it be a smart idea if i want to use Next.js for faster rendering? Thanks in advance!
    p
    • 2
    • 3
  • j

    Jared

    07/15/2019, 2:33 PM
    take a look at this: https://www.apollographql.com/docs/link/composition/#directional-composition
    • 1
    • 1
  • o

    Osama Salama

    07/17/2019, 10:16 AM
    Hi everyone đź‘‹ Would be great if I find some help on a specific npm graphql library
    <https://www.npmjs.com/package/graphql-request>
    âś‹ GraphQL request, I'm trying to use it for a simple graphql query, so I wrote a single test, configured my client etc.., and the issue is that the test awaits the query to execute then the test fails because it times out after 6000 ms awaiting the
    done()
    callback on the line after the awaited async call, any suggestions to find out what happens when I try to use the client to make graphql queries ?
1...323334...53Latest