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

    veksen

    06/14/2018, 5:10 PM
  • v

    veksen

    06/14/2018, 5:35 PM
  • v

    veksen

    06/14/2018, 5:36 PM
    since when is endpoint deprecated? the 1.7/1.8 upgrade guide doesn’t reference this.
    Copy code
    endpoint: ${env:PRISMA_ENDPOINT}
    secret: ${env:PRISMA_MANAGEMENT_API_SECRET}
    datamodel: datamodel.graphql
    
    hooks:
      post-deploy:
        - graphql get-schema --project prisma
        - graphql prepare
    n
    l
    • 3
    • 31
  • j

    Jscott388

    06/14/2018, 6:06 PM
    How can I make this work with relationships and delete photos when properties are deleted. I don't want to delete agents or offices ever!
    -.js
  • h

    Henrik Joreteg

    06/14/2018, 6:42 PM
    Hey folks, I just discovered Prisma today, but have build GraphQL stuff with the reference implementation before. My question, is... would it be possible to use Prisma if you also use the PostGIS extension to Postgres to do location based queries?
  • h

    Henrik Joreteg

    06/14/2018, 6:44 PM
    i don't see anything in the docs about it, so I presume the answer is "no" but thought I'd check.
  • h

    Henrik Joreteg

    06/14/2018, 6:44 PM
    even if it were not built-in, would there be a way for me to extend it to support geo-related queries and such?
  • r

    ryannealmes

    06/14/2018, 6:56 PM
    Hey guys I have encountered a problem I am not sure how to handle When returning information like user - password is a required field on my schema. But I would like to return a user without the password when a user logs in or when requesting users in general. What is the best practice here to get returning sensitive fields to the user? Thanks.
    t
    l
    t
    • 4
    • 25
  • a

    alec

    06/14/2018, 7:44 PM
    Using graphcool, has anyone ever uploaded a photo using the file API inside a custom resolver? I'm trying to use the FormData npm module but keep getting the error: "source.on is not a function"
  • r

    ryannealmes

    06/14/2018, 8:16 PM
    Hello again … I am trying to leverage existing functionality in prisma as much as possible in my wrapper api. Does anyone know how I can include specific mutations within my mutations type? e.g.
    Copy code
    # import User from "./generated/prisma.graphql"
    # import Team from "./generated/prisma.graphql"
    
    type Mutation {
      login(email: String!, password: String!): String
      signup(email: String!, password: String!, name: String!, username: String!): String
      updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User #not sure how to add this ...
    }
    
    type Query {
      me: User
      users: [User!]!
      teams: [Team!]!
    }
  • d

    dreadjr

    06/14/2018, 8:29 PM
    I am using
    graphql-yoga
    and
    apollo-engine
    with tracing enabled. Is there a way to use the
    traceId or requestId
    in a resolver, so i can pass it downstream to another resource?
  • v

    veksen

    06/14/2018, 10:34 PM
    @lawjolla Upgrade from 1.6 to 1.9
    parrotwave6 1
  • u

    user

    06/14/2018, 11:07 PM
    A file was commented on
  • n

    nilan

    06/15/2018, 12:10 AM
    @veksen your change in src/index.js is wrong, those are two different secrets and you're mixing them up. cc @lawjolla
    👍 1
  • v

    veksen

    06/15/2018, 12:12 AM
    yes I removed the other one… I don’t think there is a need for both, right?
    n
    • 2
    • 7
  • u

    user

    06/15/2018, 1:06 AM
    A file was commented on
  • j

    Jonathan

    06/15/2018, 1:21 AM
    I have been trying now for weeks to get Prisma/Auth0 up and running with Vue. Can anyone point me in the right direction?
    d
    • 2
    • 1
  • d

    Dukuo

    06/15/2018, 2:49 AM
    quick question: I'm decoupling auth from the rest of the service i'm working on, so I branched out from what I had I was thinking.. Would I need a different Prisma service as well? Can i manage two different schemas from one Prisma endpoint ?
  • t

    Taylor

    06/15/2018, 3:25 AM
    Is anyone else having trouble adding functions in Graphcool Cloud? When I add a function, the page just hangs and does nothing…
    k
    • 2
    • 1
  • e

    eugenistoc

    06/15/2018, 5:47 AM
    i’m trying to add a Google Cloud Platform instance of a MySQL database in Prisma cloud, but it seems that I need to whitelist connections to it first. Is there a way to see the host or IP that prisma uses to connect to the db?
    d
    • 2
    • 2
  • b

    Brendan Neufeld

    06/15/2018, 6:51 AM
    Wow, what a turn out! Rangle.io is super excited to here. Kick off your morning with a coffee and swing by our booth. We would love to meet you!
    😎 1
  • z

    ZLASH

    06/15/2018, 9:27 AM
    @guy
  • w

    woss

    06/15/2018, 10:38 AM
    i’m having custom non-db-type query in my Graphql server which is not showing when in deploy it to prisma.sh. Also since it is an express server i have added few more routes which are not working. The way i deployed it is setting the ENDPOINT to correct link as per instructions and then
    prisma deploy
    🙂
  • p

    pettanko

    06/15/2018, 10:49 AM
    Why can't graphql create ask for endpoint? :s It deploys to demo server right away.
    w
    • 2
    • 3
  • f

    fredelf

    06/15/2018, 1:17 PM
    Anyone here connected a kubernetes setup with prisma console? Were getting up the correct services, but we cant see any data.
  • p

    prolink007

    06/15/2018, 1:50 PM
    Question. Hello everyone! I am trying to get prisma to work with a remote mysql database and i am getting the following issue after running "prisma init TestProject"
    -.txt
  • p

    prolink007

    06/15/2018, 2:03 PM
    Experiencing basically the same issue as this person. https://github.com/prismagraphql/prisma/issues/2516
  • j

    jhony0311

    06/15/2018, 2:17 PM
    Hi guys, after starting a project with a self hosted database, the project was created good and I gey my docker container running but when I hit
    prisma deploy
    I get the following error
    Could not connect to server at <http://localhost:4466>. Please check if your server is running.
    Any clue on what is needed to have that working?
    a
    d
    • 3
    • 39
  • j

    Jonathan

    06/15/2018, 5:41 PM
    Hey all, trying to get auth0 setup. What's the best way for me to share a few JS files?
  • j

    Jonathan

    06/15/2018, 5:51 PM
    I am just so lost on trying to get Prisma/Auth0 configured. I've been working on this for 3 weeks now and have just about given up all hope.
    l
    • 2
    • 4
1...575859...637Latest