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

    Raffael Campos

    06/09/2019, 7:42 PM
    Hi! Anyone know if I`ll need to do something to my Nexus-prisma code when prisma 2 reaches out, or nothing will change?
  • o

    Olaf

    06/09/2019, 11:31 PM
    Hi, I look forward to Prisma 2's release and want to know if there are plans to update the current boilerplates. I am looking for more than the usual
    User -> Post
    example, something that shows a scalable folder structure rather than a single file for all mutations/queries (for example). Will there be ‘starter project’ boilerplates at the advanced level (JWT etc.) for Prisma 2? Or any early documentation to look at?
    a
    • 2
    • 1
  • c

    Cristian

    06/10/2019, 12:28 AM
    @marcus I'd like to create a WordPress-like taxonomy schema/datamodel for tags, categories and custom taxonomies for a new MySQL database. The WordPress database contains three tables for storing taxonomy data: wp_terms, wp_term_taxonomy, wp_term_relationships. How can I replicate the WordPress taxonomy schema using the Prisma Datamodel v1.1?
  • a

    Arnaud

    06/10/2019, 12:20 PM
    Hey there, I'm looking to use Prisma with Amazon Cognito. Any idea on how to achieve this? Or any sample code ?
    c
    s
    a
    • 4
    • 10
  • p

    Peter Rogov

    06/10/2019, 12:25 PM
    Hi all! Any good pointers on how to marry Prisma with C# (.net core 2.2) web API and implement authorized graphql queries (i.e. client gets an error if tries to access some data or do mutation while not having a certain role/claim/etc.)?
    a
    f
    • 3
    • 74
  • j

    Jacob Rosenzweig

    06/11/2019, 3:42 AM
    Just curious but I read that Prisma 2.0 will deprecate the need for Prisma server (make it just a lib). How is that possible. Or, better question, why wasn't it possible before?
    h
    p
    • 3
    • 3
  • c

    Cristian

    06/11/2019, 3:46 AM
    I'd also like to know if the serverless version of Prisma 2.0 will have any limitations in comparison to the Docker version
    👍 3
  • d

    deactivateduser

    06/11/2019, 9:12 AM
    Hey guys, I followed this documentation: https://www.prisma.io/docs/reference/cli-command-reference/overview-je3ahghip5#using-a-http-proxy-for-the-cli When running
    prisma login
    I receive a cloudfront error tho. I assume it is due to the proxy being configured wrongly. Any advice?
    h
    • 2
    • 1
  • d

    deactivateduser

    06/11/2019, 10:38 AM
    plus the docker-compose setup is broken. It is not possible to connect to the db... 😢
    h
    a
    • 3
    • 2
  • n

    NikolaBjelo

    06/11/2019, 3:37 PM
    Hi, I'm having problem with prisma admin pannel, I made some changes to my schema and deployed again, but prisma admin panel kept the old queries. I know it's a feature so you can create custom queries and not lose them on schema change, but is there a way to ask prisma admin to generate queries again using the given schema ? (using prisma using the default docker-compose approach)
    j
    a
    • 3
    • 6
  • g

    Gio Gunn

    06/11/2019, 4:37 PM
    Hi All🤨, I'm Gio, just joined. Frontend developer(Typescript/Angular) , however, I've taken great interest in backend development with the advent of GraphQL and Prisma🤔
    a
    • 2
    • 1
  • p

    Peter Rogov

    06/11/2019, 7:53 PM
    According to the docs, Prisma does not support integer types like Long or BigInt. Is it true? Why is it like this?
  • m

    Mike Stecker

    06/11/2019, 9:00 PM
    Hey all, I'm new to backend and I have a personal side project idea that I want to explore and use as a learning experience. I'm coming from a long history as a frontend development, primarily with Craft CMS. So JS and Node is pretty new to me but I am eager to learn. I'd love if someone might be able to at least point me in the right direction. From my initial research, it seems like I should be using stuff like Prisma, GraphQL, Apollo, JWT, etc which is why I joined here... I'm still learning what all these are for but I think I have a good general understanding. Here are some of the high level features I want to have in my site and maybe someone could help point me in the right direction: - user signup/login - email confirmation to verify account - user roles (standard, admin, super admin, etc) - invite-only at first (that I could turn off at some point) - paid vs free users (site membership monthly subscriptions + prepay options) - paid users get additional functionality (such as messaging, advanced search, etc) - user profiles - direct messaging/chat with other members (not group) - user-driven permissions (users can allow other users to view parts of profile, block other users, etc) - initial signup multi-step process for setting up profile - email notifications - 2-factor auth - privacy-minded site-wide - have as few third-party cloud services as possible (don't want to use Firebase for example) Anyway, those are some of the features I had in mind that I'd like to build. This is just a personal project idea of mine and so I'm trying to learn this all myself and obviously don't have funds to pay someone. I'm mostly posting here to get input if Prisma/Apollo, GraphQL, etc are the right path forward for this sort of thing? I was thinking of building the frontend in VueJS. Also, I've found so many boilerplates and starter projects but they all seem to have different ways of doing things and many of them seem to be outdated. Is there a good "starting point" that anyone would recommend? The one I've messed with more than others is https://github.com/WhatTheFar/modularizing-graphql-boilerplate ... I have it working with basic login/signup but that's about all so far but I question whether these big boilerplates are overkill? Anyway, thanks in advance for any help/suggestions/pointers!
    j
    k
    +2
    • 5
    • 28
  • a

    Alosies

    06/12/2019, 9:10 AM
    Hi, I’m trying to migrate my database from
    heroku(Server version- 1.11)
    to
    Digital ocean(Server version 1.34)
    . I did
    pg_restore
    and did
    introspection
    . The
    datamodel.prisma
    hence created is significantly different from my original
    datamodel.prisma
    For example: The
    relations
    are missing in each
    type
    . How do I modify the new
    datamodel.prisma
    to query the fields I used to query with the old
    datamodel.prisma
    .
  • a

    Alosies

    06/12/2019, 9:11 AM
    type_College_in_Old_datamodel_prisma.txt
  • a

    Alosies

    06/12/2019, 9:14 AM
    type_College_and_related_types_in_new_datamodel_prisma.txt
  • a

    Alosies

    06/12/2019, 9:15 AM
    any help in this direction is highly appreciated. I’m stuck at this migration for more than a week now, trying out different versions and methods. 😑 Nothing seems to work to get the right relations.
  • i

    Ishaan

    06/12/2019, 10:23 AM
    Hi. As far as I have understood, Prisma has dataloader already integrated to handle caching and batch processing. Is there any way to configure this to a custom REDIS URI?
  • r

    Raviv

    06/12/2019, 10:27 AM
    Hi all,
  • r

    Raviv

    06/12/2019, 10:29 AM
    How can i fetch all the Type column names? or even the Type columns and all its related (nested) types columns recursively! (only the field names)
    a
    • 2
    • 1
  • s

    Simon Stenbæk Madsen

    06/12/2019, 11:53 AM
    Is there any way to input multi line text through the prisma admin?
  • s

    Simon Stenbæk Madsen

    06/12/2019, 11:54 AM
    String fields seem to only enable single line inputs
  • j

    Jonaed Hasan

    06/12/2019, 12:19 PM
    Hi @everyone I'm having a weird problem while creating a server in prisma with heroku integration It's throwing me a error.
  • j

    Jonaed Hasan

    06/12/2019, 12:19 PM
    https://slack-files.com/TEHDGQ83F-FK59B42R1-e9caca02a6
    j
    • 2
    • 1
  • j

    Jonaed Hasan

    06/12/2019, 12:20 PM
    what should I do now?
  • p

    Peter Rogov

    06/12/2019, 12:28 PM
    @Jonaed Hasan where do you get this error?
  • j

    Jonaed Hasan

    06/12/2019, 12:29 PM
    https://app.prisma.io/md-jonaed-hasan-7461a7/servers/create-heroku-server
  • j

    Jonaed Hasan

    06/12/2019, 12:29 PM
    in here
  • p

    Peter Rogov

    06/12/2019, 12:43 PM
    Same story. When I try the same URL under my profile I get the same error. Seems that a couple of XHR requests fail with HTTP 400 and then the client app fails to parse the response (which is expected to be JSON but is HTML error page).
  • p

    Peter Rogov

    06/12/2019, 12:43 PM
    Clearly this should be directed to Prisma support
1...279280281...637Latest