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

    CCBCodeMonkey

    12/11/2018, 4:51 AM
    with a little checkmark
  • c

    CCBCodeMonkey

    12/11/2018, 4:51 AM
    but doesn't generate the file?
  • g

    Gaurav

    12/11/2018, 6:01 AM
    Hi all, does anybody have familiarity on this error issue:
    Caused by: java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'prisma_AdminOne'@'49.35.254.67' (using password: NO)
    Post: https://www.prisma.io/forum/t/aws-rds-could-not-connect-to-server-and-where-are-the-docs-for-deployments/5314/3
  • d

    davigarcas

    12/11/2018, 10:50 AM
    How can i integrate passport with prisma and graphql-yoga ?
    w
    • 2
    • 3
  • w

    woss

    12/11/2018, 10:51 AM
    what's the purpose of the
    @description
    in the prisma datamodel? is it meant to be served as description for the fields? 'Coz that be great! šŸ™‚
    n
    a
    • 3
    • 5
  • k

    k0ff33

    12/11/2018, 3:37 PM
    Is is possible to filter based on an enum value? I can’t work it out, no type completion for
    permissions
    and error says ā€œunknown fieldā€ šŸ˜•. Example attached.
    Filter_array_of_enums.txt
    • 1
    • 2
  • o

    Oskar

    12/11/2018, 4:44 PM
    Hi guys, how far away would you guess that us mere mortals are from getting access to Prisma Admin?
  • d

    devan

    12/11/2018, 5:02 PM
    https://itnext.io/graphql-mutation-arguments-validation-with-yup-using-graphql-middleware-645822fb748 This is so good! šŸ™Œ
    šŸ‘ 1
    šŸ’Æ 1
  • c

    claym

    12/11/2018, 5:10 PM
    how do you delete a relation created with connect?
    n
    • 2
    • 1
  • p

    pancake

    12/11/2018, 5:12 PM
    hey prismoids, reaching out to the hive mind for help on why a query isn’t returning anything. given data model:
    Copy code
    type ClientUser implements User {
        ...
        email: String! @unique
        ...
        connections: [Connection] @relation(name: "ClientConnect")
    }
    ...
    type Connection {
        id: ID! @unique
        ...
        organization: Organization! @relation(name: "OrgConnect")
        ...
    }
    ...
    type Organization {
        id: ID! @unique
        ...
        stripeID: String
        ...
    }
    I’ve written a query that looks like this:
    Copy code
    getClientUserWhere( where: { email: \"<mailto:foo@barbaz.com|foo@barbaz.com>\" } ) { connections { organization { stripeID } } }
    which doesn’t seem to hit any responses. In fact, it can’t seem to find anything through the connections relation, even the id of connections associated with foo. I am wondering if this is aught to do with my query or data model… Any thoughts?
    n
    • 2
    • 1
  • s

    sansafrank

    12/11/2018, 6:57 PM
    any difference between a datamodel.graphQL and a datamodel.prisma?
    b
    • 2
    • 1
  • h

    Hasen

    12/11/2018, 7:00 PM
    Has anyone encountered an issue where adding some types to the data model that those types dont show up in the generated schema?
    b
    • 2
    • 2
  • d

    devan

    12/11/2018, 8:39 PM
    Has anyone here gotten a working VSCode
    launch.json
    working with nodemon that is running ts-node?
    p
    • 2
    • 23
  • b

    Bruno

    12/11/2018, 9:38 PM
    hey, I'm exploring prisma and after adding the 2 tables on the tutorial
    User
    and
    Post
    , the connecting table
    _PostToUser
    has 3 columns:
    id
    ,
    A
    and
    B
    . Is there a way to make those column names more descriptive?
    • 1
    • 1
  • c

    claym

    12/11/2018, 10:05 PM
    anybody have recommendations on doing mutations with date/times? i'm going webbased date picker -> yoga -> prisma server should i pass the date as a string to yoga and have it convert the string to DateTime?
  • r

    rwatts3

    12/11/2018, 11:25 PM
    Hello everyone I have a general questions just a pointer in the right direction. I would like to use prisma-client not only for a database layer, but also possibly add additional api endpoint/services to my application. For example I want to have graphql for my own schema via prisma alongside creating a graphql layer for Redmine, where in the app itself I can hit prisma as well as hit my api
    p
    • 2
    • 8
  • r

    rwatts3

    12/11/2018, 11:26 PM
    Are there any guides or examples that showcase this example ?
  • r

    rwatts3

    12/11/2018, 11:27 PM
    In fact what i'm looking for this this https://github.com/prisma/graphcool-framework/tree/master/examples/0.x/rest-wrapper but the prisma way instead of having to use graphcool
  • n

    Nick

    12/12/2018, 4:27 AM
    Hello, just testing out Prisma 1.22.2 with MongoDB in Docker. I have a data model like -
    n
    • 2
    • 4
  • h

    huv1k

    12/12/2018, 10:00 AM
    Hey, there is new version of the playground https://github.com/prisma/graphql-playground/releases/tag/v1.8.5 which features Schema view šŸ™‚
    šŸ‘ 2
    w
    • 2
    • 1
  • w

    woss

    12/12/2018, 12:54 PM
    did anyone got prisma working with docker and VIRTUAL_HOST?
  • s

    siyfion

    12/12/2018, 12:58 PM
    Is there a benefit in using Facebook’s
    Dataloader
    in combination with Prisma Client?
    h
    • 2
    • 2
  • l

    leafyshark

    12/12/2018, 3:01 PM
    Hi guys
  • l

    leafyshark

    12/12/2018, 3:02 PM
    I am creating a user with name, email and passwd using prisma with mongodb and using the @unique directive on email field in datamodel.prisma doesn't seem to throw any errors when creating multiple users with the same email. Any ideas why?
    p
    h
    • 3
    • 6
  • j

    jdoyle112

    12/12/2018, 3:08 PM
    I posted over in graphcool but figured I’d do so here as well. I randomly started getting CORS and 504 gateway timeout errors when trying to hit my graphcool simple endpoint. This is both from playground and from my app. Was working fine before.. has anyone ever gotten this>
    d
    t
    • 3
    • 6
  • j

    jdoyle112

    12/12/2018, 3:08 PM
    ?
  • l

    leafyshark

    12/12/2018, 4:40 PM
    Hey does anyone have MongoDB set up with Prisma yet? I'm currently trying to set the id property with the @id directive but it doesn't save to MongoDB. It saves with a unique _id in MonogoDB, but according the the docs here: https://www.prisma.io/docs/releases-and-maintenance/features-in-preview/mongodb-b6o5/#directives you should be able to set any property name such as 'smoosh: ObjectId' which doesn't seem to be the case. I've even tried setting smoosh and always see in the DB still _id:
    n
    • 2
    • 5
  • d

    Drew Delianides

    12/12/2018, 10:40 PM
    is it possible to get in on the prisma-admin beta?
  • k

    kazi

    12/13/2018, 4:34 AM
    if you ever in need of a Designer, This 3 min sort article can help you to get a perfect one. https://www.linkedin.com/pulse/checklist-hiring-designer-your-next-project-thank-me-later-ullah/
  • m

    Martin Hunt

    12/13/2018, 9:19 AM
    Hello friends! I'm a long time mac user and my trusty 2012 MBP desperately needs upgrading and is finally becoming unusable. The problem is that I'm not in the space financially right now to get another high end mac and I'm seriously considering switching to windows. Are any of you developing on windows using the linux subsystem? I'd be really interested to hear your eperiences using Prisma, Node, React and other JS tooling as well as Python.
    w
    f
    s
    • 4
    • 8
1...175176177...637Latest