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

    jblevins

    03/13/2019, 10:27 PM
    Here is my query and variable
  • j

    jblevins

    03/13/2019, 10:28 PM
    When the console log in the resolver prints out the data in my where argument I get {"id":"cjt7rt42100350706ie9b3ssn"}, so I am not sure why the error message says it found {\"where\":{\"id\":\"cjt7rt42100350706ie9b3ssn\"}}
    w
    • 2
    • 7
  • w

    Wendell Misiedjan

    03/13/2019, 11:10 PM
    Database modelling question, how would I make something like this work:
    Copy code
    type ExternalSource {
      id: ID! @unique
      name: SourceName!
      event: Event @relation(name: "EventExternalSources")
      sourceId: String
      sourceUrl: String
    }
    
    type Event {
      id: ID! @unique
      name: String!
      subtitle: String
      startsAt: DateTime
      endsAt: DateTime
      location: EventLocation
      parent: Event @relation(name: "EventExternalChildren"),
      externalChildren: [Event!] @relation(name: "EventExternalChildren")
      externalSources: [ExternalSource!] @relation(name: "EventExternalSources")
      externalSource: ExternalSource @relation(name: "EventExternalSources")
      createdAt: DateTime!
      updatedAt: DateTime!
    }
    Explanation: We want different versions of DataSources for an Event, in that Event we want a Primary DataSource and all the other externalSources to be available, if a Event is a from a externalSource, we want it linked to the parent event. Will this (simplified) data model make sense?
    h
    • 2
    • 1
  • d

    Dragomir Proychev

    03/14/2019, 12:44 AM
    Is there a way to override the default prisma error messages with your own, more user friendly ones - for example error messages for uniqueness constraint violation?
    h
    • 2
    • 1
  • j

    jblevins

    03/14/2019, 2:08 AM
    I would also like to know if we can override the default prisma errors with our own, even if just for the sake of hiding data from the user-interface and giving them a more readable message.
    f
    • 2
    • 1
  • j

    Jesper O. Christensen

    03/14/2019, 7:33 AM
    Hi. What is the difference between prismagraphql/prisma images and prismagraphql/prisma-prod images?
    h
    • 2
    • 1
  • j

    Jidé

    03/14/2019, 7:37 AM
    I am discovering the new prisma cloud admin ui
  • j

    Jidé

    03/14/2019, 7:38 AM
    we have done EXACTLY the same in our app 😎 (queries for list views, json-schema for detail view)
  • j

    Jidé

    03/14/2019, 7:42 AM
    Oh ! these views components are dope !
    💯 2
  • m

    Martí Crespí

    03/14/2019, 8:44 AM
    I have my prisma server on 1.26, and I want to try the new prisma admin and I have to update to 1.29. How can I update the server properly?
    u
    • 2
    • 7
  • b

    bamne123

    03/14/2019, 11:32 AM
    Which hosting option is good to deploy, Prisma and Yoga Server?
  • b

    bamne123

    03/14/2019, 11:32 AM
    Heroku, Docker, AWS or GCP
    h
    • 2
    • 1
  • m

    Martí Crespí

    03/14/2019, 11:33 AM
    When I try to deploy after compose with 1.29-beta-6 docker tag it throws an error
    "exception":"java.lang.RuntimeException: Encountered unknown SQL type timestamptz with column createdAt.
    Before that, I had 1.26 docker tag and it was working without any problem.
    h
    • 2
    • 19
  • d

    domko

    03/14/2019, 11:55 AM
    guys i rly need to say, im not happy with the roadmap of Q1/Q2. too much improvements and new products and no basic feature implementations. most annoying missing feature is the cascade delete in mongo connector, which will not get implemented this year it seems. rly sad to say, but we're thinking about to replace prisma in our application.
    s
    • 2
    • 1
  • b

    bamne123

    03/14/2019, 12:29 PM
    Anyone worked on Apollo Client new feature Partial ReFetch with Prisma Client setup?
    h
    • 2
    • 1
  • s

    stephan

    03/14/2019, 1:20 PM
    @Baruch weinstein
  • j

    José Gomes

    03/14/2019, 2:44 PM
    So, Prisma allows to create relationships between tables in different services?
    h
    j
    j
    • 4
    • 4
  • m

    Mustafa

    03/14/2019, 3:58 PM
    Howtographql guide question
    -.js
  • e

    ervindraganovic

    03/14/2019, 4:03 PM
    Anyone who is experiencing not being able to connect nodes with the new Prisma Admin? Clicking on connect -> hereafter selecting a node -> Save Changes = node not connected.
    h
    • 2
    • 14
  • j

    Jerry Jäppinen

    03/14/2019, 4:07 PM
    I’m trying to upgrade Prisma and update my management API secret. Trying to find the right documentation, could anyone point me to the right direction?
    h
    • 2
    • 21
  • j

    Jerry Jäppinen

    03/14/2019, 4:08 PM
    I have a Docker-based setup but I’m not sure what I need to do to have my service running on a new version of Prisma, and with a new management API secret
  • j

    Jerry Jäppinen

    03/14/2019, 4:08 PM
    (With my data intact of course)
  • j

    Jerry Jäppinen

    03/14/2019, 4:26 PM
    Looks like I messed up my local setup somehow.
    docker-compose ps
    shows
    db_postgres_1
    stuck at “Restarting” and Prisma commands can’t connect to the service
    w
    • 2
    • 1
  • t

    test test

    03/14/2019, 4:35 PM
    Anyone ever encounter this issue on react-native when making a request: TypeError: response.headers.get is not a function
  • j

    jblevins

    03/14/2019, 4:49 PM
    Are input types inherently broken? I used the SDL converter and I am getting this error: Could not find argument username for type User Prisma Playgrounds autocompletes username in the variables section thought. I thought it was my code at first, but now the SDL generated code is throwing the same fit.
    h
    t
    w
    • 4
    • 27
  • l

    lawjolla

    03/14/2019, 5:31 PM
    I followed the Fargate instructions and got it deployed... but are subscriptions not enabled? I see a lot of talk of clustering + RabbitMQ for clustered deployments. Is that also a limitation for the Prisma Fargate deployment?
  • r

    rem

    03/14/2019, 5:45 PM
    Is there a decent Prisma pattern for
    orderBy
    on nested fields? (I've found the open and closed issues - as idle, no dice). I'm guessing this needs to be done in the resolver manually…
  • a

    Alex

    03/14/2019, 5:56 PM
    What is the recommended way to create deeply nested mutations as a single transaction? Prisma Client generates a
    [Type]Create[Type]Without[Type]Input
    which, as the name indicates, doesn't contain the relationship type anymore.
  • j

    Jerry Jäppinen

    03/14/2019, 7:04 PM
    This may be a dumb question but… let’s say I have three projects locally and I want to use a Prisma setup in each one. So I have three docker-compose files, how does Docker/Prisma differentiate between them?
    w
    • 2
    • 3
  • j

    Jerry Jäppinen

    03/14/2019, 7:10 PM
    So if I copied my docker-compose and used it to set up a new service, how does Docker/Prisma know whether to connect to the existing one or create a new one?
1...235236237...637Latest