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

    tafelito

    05/30/2019, 6:02 PM
    I’m trying to run a demo with prisma cloud and I get this error “Unsupported project ID encoding. “, anyone knows what that is?
  • h

    Hyo

    05/31/2019, 6:36 AM
    Can I deploy prisma application to
    azure fabric mesh service
    ?
  • m

    Michał Chmura

    05/31/2019, 8:23 AM
    👇
    👍 3
    m
    • 2
    • 1
  • t

    Thor Mengkheang

    05/31/2019, 8:50 AM
    how can i reset prisma db migration?
  • t

    Thor Mengkheang

    05/31/2019, 8:51 AM
    i accidentally drop table in db
  • t

    Thor Mengkheang

    05/31/2019, 8:51 AM
    now i can’t deploy prisma because it could not find the table
    d
    • 2
    • 1
  • m

    Matteo Villa

    05/31/2019, 9:24 AM
    prisma allow me to put multiple mutation in transaction??
    h
    • 2
    • 2
  • s

    Steven Vachon

    05/31/2019, 12:47 PM
    why is there a prisma.graphql and a datamodel.prisma file? why could they not be unified?
    c
    • 2
    • 3
  • v

    victory1908

    05/31/2019, 2:29 PM
    hi guy how to write a resolver that schedule action at specific timing? (time set by post body)
    h
    j
    • 3
    • 5
  • e

    evondev

    05/31/2019, 2:40 PM
    Anyone know any example subscription realtime working with Prisma and Graphql ? Thanks so much
    j
    m
    • 3
    • 4
  • h

    Hyo

    05/31/2019, 3:19 PM
    Hi
    Prisma
    I’ve just saw the announcement on
    Prisma Day
    ! https://www.prisma.io/day/#community. I was really unhappy on
    zeit
    support for
    prisma
    but I’d really love to see news here on
    Prisma Day
    from the ceo of
    ZEIT
    . I’d love to participate but I can’t since I am on busy days in my country. 😿
  • s

    Sávio Serra

    05/31/2019, 10:42 PM
    Does anyone know if it is possible to change the database name from
    PRISMA_CONFIG
    ?
  • j

    John Cantrell

    06/01/2019, 1:08 PM
    Does documentation exist on how to perform all the same types of queries as showcased in the prisma client documentation but when using prisma bindings as part of graphql-yoga?
  • j

    John Cantrell

    06/01/2019, 1:10 PM
    For example, finding all posts made by a certain User (by id). In the prisma client docs you can do something like prisma.user({ id: userId}).posts(); It seems like in bindings have to do something like db.query.posts({ where { user: { id: userId } } }) or maybe db.query.posts({ where: { userId: { id: userId } } }); I would think it was the former but it seems like it wants me to do the latter which seems really odd to me?
  • i

    iago

    06/01/2019, 4:57 PM
    is there a way for the client to get us to the parent of the
    @embedded
    in a back-relation (inline)?
  • s

    Steven Vachon

    06/01/2019, 5:40 PM
    prisma's SDL is somewhat different from the spec... i have this:
    Copy code
    type Query {
      id: ID! @id
      thing: [Thing!]!
    }
    and getting:
    The type
    Query
    has is using a reserved type name. Please rename it.
    s
    • 2
    • 2
  • s

    Steven Vachon

    06/01/2019, 5:40 PM
    would someone please explain wtf 🙂
  • s

    Steven Vachon

    06/01/2019, 5:46 PM
    if i remove the
    id
    , it tells me that i need it
  • k

    KrusPat

    06/01/2019, 9:11 PM
    is there way to reset prisma other than prisma reset?
  • k

    KrusPat

    06/01/2019, 9:11 PM
    for some reason prisma reset isnt deleting data
  • s

    ScottAgirs

    06/02/2019, 7:06 PM
    Copy code
    {
      "data": null,
      "errors": [
        {
          "message": "Value for field email is too long.",
          "locations": [],
          "path": [
            "createUser"
          ],
          "code": 3007,
          "requestId": "us1:cjwfb6gjzzyp70b12cag9l2g2"
        }
      ]
    }
    has anyone seen this before? I am initiating a new project with Prisma v1.32.0-beta and with the most basic datamodel (containing solely type User with email, password, name) performing a
    createUser
    mutation to which, if the email (
    @unique
    field) is longer than (now trying
    email:"<mailto:johanson.johanson@gmail.com|johanson.johanson@gmail.com>"
    ) it throws the above error - huh!? In other projects with v1.27 nothing like this has been seen before
    b
    c
    • 3
    • 2
  • n

    Nicolas Sefercheoglou

    06/03/2019, 12:47 PM
    Hi everyone! Has anybody been able to work with master/slave mysql configuration and prisma-client? Thanks in advance
  • m

    Michał Chmura

    06/03/2019, 1:20 PM
    how can I extract all fields on the
    Prisma.query.users()
    call? e.g. if I do
    Copy code
    await Prisma.query.users(data, `{ id email tasks { id } }`)
    but it's unmaintainable for bigger models: is there
    GraphQLResolveInfo
    option to resolve all?
    c
    e
    • 3
    • 16
  • d

    Doug Daegal

    06/03/2019, 3:17 PM
    Hey has anyone tried this app Link Reminder? It's in the Slack
    New & Noteworthy
    section: http://r.labfortysix.com/link-reminder-1 I'm interested in using it for my company, just want to get some feedback in case someone here has used it before. Looks pretty interesting, you add the bot to your work channel and it automatically creates reminders as your team chats, then if someone's done their task, it sends you a DM so you don't have to waste time or feel awkward following up with people.
  • h

    Hebilicious

    06/03/2019, 3:26 PM
    Hello, I’m trying to insert large JSON strings in a column using prisma. My datamodel looks like that.
    Copy code
    type Area {
        ...
        name: String! @unique
        areaType: AreaType!
        geometry: Json
        ...
    }
    It works fine, except for some of the entries where I get this error message :
    Error: Value for field geometry is too long.
    The thing is the JSON are not that large, they’re between 10kb and 100kb. The whole dataset has roughly 10000 entries, and a size of 515mb. The maximum size for a column entry should be around 1GB according to the documentation. Has anyone encountered a similar situation? Is there any way to increase that limit ?
    c
    • 2
    • 2
  • b

    Brandon Johnson

    06/03/2019, 4:04 PM
    Anybody else getting a 404 on the announcement link that was just posted?
  • p

    piscis

    06/03/2019, 4:04 PM
    yes
  • j

    Julius de Bruijn

    06/03/2019, 4:05 PM
    yep, here's a working link https://www.prisma.io/blog/prisma-2-is-coming-soon-mwwfhevie993
    👍 2
    b
    p
    +3
    • 6
    • 7
  • m

    Michał Chmura

    06/03/2019, 4:13 PM
    linked blog post is also not available https://www.prisma.io/blog/a-smooth-upgrade-path-to-prisma-2
  • s

    Steven Vachon

    06/03/2019, 4:13 PM
    i'm still confused as f*** with graphql/prisma
1...274275276...637Latest