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

    Stef

    01/20/2019, 1:42 PM
    Has anyone made a more resilient Graphcool data export script? I’ve tried the standard CLI data export tool, but Graphcool sometimes throws a 502 proxy timeout error (I think it’s behind Cloudflare or something like that?) and the script fails. Then retrying the script, it exports again from the very beginning, and then fails again randomly. I’ve tried forking the CLI tool, but it looks like the various dependencies are now out of date, so it’s quite a task to get it to compile my adapted version of the code.
  • a

    Andres Montoya

    01/20/2019, 7:56 PM
    Hi, someone can help with this problem I have about Nodejs and glob? https://stackoverflow.com/questions/54280052/trying-to-get-asynchronous-functionality-with-glob thanks 🐛
  • j

    jesseobrien

    01/20/2019, 8:07 PM
    hi, does anyone have any tips for importing data into prisma that have auto-incrementing IDs?
  • j

    jesseobrien

    01/20/2019, 8:07 PM
    i'm using the ndf format, and i have auto-incrementing IDs on some of the obejects i'm trying to insert
  • j

    jesseobrien

    01/20/2019, 8:07 PM
    it's telling me it needs an id property though on import
  • l

    lewisedc

    01/20/2019, 8:12 PM
    When I have an array of strings or enums on a type I don't get way to query them with 'where:'
    h
    • 2
    • 2
  • l

    lewisedc

    01/20/2019, 8:12 PM
    Is this a bug?
  • l

    Llewellyn Lovell

    01/21/2019, 12:51 AM
    Looking for some example code using Express and Graphql-yoga. Any help would be appreciated
    v
    • 2
    • 1
  • d

    Dan Fein

    01/21/2019, 3:11 AM
    Hi there
  • d

    Dan Fein

    01/21/2019, 3:11 AM
    I have a prisma schema that I’m using with Python
  • d

    Dan Fein

    01/21/2019, 3:11 AM
    I’m trying to import and use it with my JS express server as well
  • d

    Dan Fein

    01/21/2019, 3:11 AM
    Should I be trying to import the /generated/index.js file? Or the .schema file?
    v
    • 2
    • 2
  • d

    Dan Fein

    01/21/2019, 3:20 AM
    is it possible to generate a .graphql file? Is one necessary?
  • e

    Ecker

    01/21/2019, 7:35 AM
    Is it possible to use
    import
    with the
    datamodel.prisma
    when doing
    prisma deploy
    ? Like: https://oss.prisma.io/content/graphql-import/overview Or are there other methods to define the
    datamodel
    across multiple files, making it modular?
    v
    • 2
    • 5
  • r

    rawriclark

    01/21/2019, 8:24 AM
    hi guys
  • j

    John Smeeth

    01/21/2019, 8:24 AM
    hi all
  • r

    rawriclark

    01/21/2019, 8:24 AM
    how come I can't do where OR / NOT in mongodb
  • r

    rawriclark

    01/21/2019, 8:24 AM
    can someone clarify on that?
  • j

    John Smeeth

    01/21/2019, 8:24 AM
    How can i use a value of an enum as a default value of a model field?
  • r

    rawriclark

    01/21/2019, 8:24 AM
    there is a @default anotation @John Smeeth
  • j

    John Smeeth

    01/21/2019, 8:25 AM
    @rawriclark thank you. i know it but i don't know how to access an enum's value
  • j

    John Smeeth

    01/21/2019, 8:25 AM
    for example i have an enum
  • j

    John Smeeth

    01/21/2019, 8:26 AM
    Copy code
    enum PAYMENT {
      MONTHY
      ANNUAL
    }
  • j

    John Smeeth

    01/21/2019, 8:26 AM
    how can i access
    MONTHY
    or
    ANNUAL
    in the model
  • j

    John Smeeth

    01/21/2019, 8:27 AM
    Copy code
    type Order {
      payment: PAYMENT @default(value: ???)
    }
    v
    • 2
    • 1
  • r

    rawriclark

    01/21/2019, 8:28 AM
    cant you just put 0 or 1
  • r

    rawriclark

    01/21/2019, 8:28 AM
    or MONTHLY?
  • r

    rawriclark

    01/21/2019, 8:33 AM
    anyone can answer my question? 😞
    v
    e
    • 3
    • 27
  • b

    Benjamin Sampson

    01/21/2019, 12:36 PM
    Hi all. Getting this weird error, probably common, using Prisma version 1.23.2 "Unexpected Name, found }" It's not this: https://github.com/prisma/prisma/issues/3452 because I'm ONLY using scalar types. Any help?
    m
    h
    d
    • 4
    • 29
  • w

    woss

    01/21/2019, 12:37 PM
    i tottaly feel @rawriclark, i'm not sure what's going on, are they are increadibly busy with development or fame hit them in the head, but it would be really nice if you guys could answer basic question like 'how the hell one can use Connections with graphqlgen???' don't get me wrong, i like what you are doing, heck i love it, but slow down, and make shit stable and answer the qustions, here and on github. one of the BEST and most IMPORTRANT aspects of graph databases ARE connections and they are not implemented with graphqlgen. how do you think we can implement infinite scroll, pagination???
1...192193194...637Latest