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

    Gorodov Maksim

    08/18/2018, 11:42 AM
    and i have no idea how to fix it
  • j

    Jim

    08/18/2018, 12:20 PM
    I’ve been charged $45.00 for Prisma Cloud but I should be on the free account.
  • j

    Jim

    08/18/2018, 12:20 PM
    I emailed support a week ago but no reply.
  • j

    Jim

    08/18/2018, 12:21 PM
    @nilan Could this charge be explained or reversed?
    n
    • 2
    • 1
  • m

    Moritz

    08/18/2018, 3:12 PM
    Hi all, what's you favourite CI to use with your prisma projects? Can you recommend anything? We want to have continuous deployments to our digital ocean infrastructure running docker.
    😶 1
  • r

    rcy

    08/18/2018, 9:25 PM
    Is it possible to override the pluralization rules? I have a model
    Person
    and want
    people
    as a query, but get
    persons
    .
    s
    • 2
    • 2
  • n

    Nick

    08/18/2018, 10:12 PM
    Hey I'm on windows machine trying to use this plugin https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql and it doesn't work why The output on vscode terminal says
    Watchman:  Watchman was not found in PATH.  See <https://facebook.github.io/watchman/docs/install.html> for installation instructions
    Anyone that can help me out here, installing Watchman on windows is a bit tricky and facebook documentation is not the easiest to grasp.
    d
    • 2
    • 1
  • v

    Vinnie

    08/19/2018, 2:45 PM
    so, playing with Prisma locally in Docker
  • v

    Vinnie

    08/19/2018, 2:45 PM
    how do I nuke the containers? After docker-compose down and then up -d again, all my data are still there.
  • v

    Vinnie

    08/19/2018, 2:45 PM
    I am looking to start fresh
    r
    • 2
    • 2
  • z

    zaksingh

    08/19/2018, 7:10 PM
    Hi guys. I've noticed that the provided fargate template creates a publically accessible database. If the Prisma server is being hosted in the same VPC as RDS, why is this necessary?
  • h

    hw

    08/20/2018, 2:08 AM
    I can't understand the error, it can't return object in resolver
    Why_can_t_I_return_an_object_in_resolver.js
    l
    • 2
    • 14
  • g

    Gorodov Maksim

    08/20/2018, 3:04 AM
    Is there any way to cope prisma-hosted database? And is it okay to use demo server for production?
  • k

    kratam

    08/20/2018, 7:39 AM
    I'm a bit lost... can someone tell me how to generate a
    schema.d.ts
    from my app's (and not prisma backend's)
    schema.graphql
    file automatically? I can't find a solution which works and understands the
    # import
    sintax in the graphql file.
  • a

    Arnab

    08/20/2018, 8:51 AM
    I am looking to create a
    seed.graphql
    file for the following datastructure:
    Copy code
    type Speaker {
      id: ID! @unique
      name: String!
      talks: [Talk!]!
      workplace_url: String
    }
    
    type Talk {
      id: ID! @unique
      title: String!
      speaker: Speaker!
      session_duration: Int
    }
    How would I for instance insert multiple
    Talk
    objects and connect them to the same speaker?
    • 1
    • 1
  • v

    val

    08/20/2018, 10:55 AM
    Can I rename a relation without loosing connections?
  • q

    qsys

    08/20/2018, 12:09 PM
    so, what's this
    global:     ✖ For input string: "null"
    thing exactly?
  • q

    qsys

    08/20/2018, 12:11 PM
    I really can't do anything with the schema of my graphcool-db, even adding a completely unrelated type. I always get the same error, so it seems to be that there's an issue internally. Wiping the data doesn't help either.
  • v

    Vinnie

    08/20/2018, 12:35 PM
    In case anyone is interested: https://github.com/artetecha/ypsa
    👍 1
  • l

    Luke

    08/20/2018, 12:52 PM
    Could you please tell me how/where prisma generates the resolvers for the given graphql schema?
  • c

    cory

    08/20/2018, 1:02 PM
    Small one for the issue tracker: app.prisma.io register form asks for password with 1 number. Rejects any symbols like
    !@#$%^
    . Doesn’t warn about not allowing symbols.
  • v

    val

    08/20/2018, 1:36 PM
    https://github.com/prisma/prisma/issues/2947 if anyone has any ideas
  • m

    MikePuglisi

    08/20/2018, 2:46 PM
    General GraphQL Schema Design Pattern Question I noticed in the airBnb Example Amenities are created like this:
    Copy code
    type Amenities {
      airConditioning: Boolean!
      babyBath: Boolean!
      babyMonitor: Boolean!
      babysitterRecommendations: Boolean!
      ...
    }
    I'll be using a relational database as my data source, and having a "hard-coded" list like the above seems limiting to me. For example, an administrator wouldn't be able to add a new amenity. I would think something like the following would be more desirable, as it would allow an administrator to easily add new "amenities"
    Copy code
    type Amenity {
        id: ID!
        name: String
    }
    Would this be a bad design pattern in the world of GraphQL (which I'm new to)? Related: https://github.com/prisma/graphql-server-example/blob/master/prisma/datamodel.graphql
  • s

    sandesh vakale

    08/20/2018, 3:33 PM
    Well sorry for this question. I was hired as a full-stack developer but never got a work in backend. I am really interested to learn backend. I want to build profile of full stack.Right now I am working on React native. Any reference to learn backend would be great help. Better online courses. Should I start with GraphQL without learning rest?
    d
    z
    • 3
    • 3
  • f

    Futurekam

    08/20/2018, 4:17 PM
    Hey has anyone ever run into an issue with their prisma server where they cannot save a session in order to share values between resolvers? im basically trying to do something like this Page1 -> <Query> -> queries for X which runs promise and after resolving saves token ctx.request.session.userId query resolves bool Page2 -> <Query> -> queries for Y which depends on ctx.request.session.userId, however when Y is run ctx.request.session.userId does not exist... any advice?
    Copy code
    "dependencies": {
        "express-session": "1.15.6",
        "graphql-yoga": "1.16.1",
        "jsonwebtoken": "8.3.0",
        "prisma-binding": "1.5.19"
      }
  • j

    jason

    08/20/2018, 4:30 PM
    I've been using a development Prisma server to build out a new app, and it has worked great! Now I'm trying to set up production servers, and I can not figure out how to configure them for Now (Zeit) without being wide open to the public — I tried using Prisma Cloud first, but I keep getting stuck on the "Create a new server" with a neverending loading spinner and an Apollo error in the console.
    l
    • 2
    • 14
  • j

    jason

    08/20/2018, 4:31 PM
    I have a database set up on Google Cloud, and my Now deployment works great connecting to it, but as I mentioned there is no security, and I can not find any documentation on how to secure when self-hosting
    l
    • 2
    • 1
  • c

    cory

    08/20/2018, 7:34 PM
    So many errors in app.prisma.io… Please tell me you’re catching these with some reporting service. :X
  • c

    cory

    08/20/2018, 7:44 PM
    Error when trying to create a fresh server via app.prisma.io:
    Heroku account has already been added. Please select it in the heroku account selection.
  • c

    cory

    08/20/2018, 7:44 PM
    What/where is
    heroku account selection
    ?
1...101102103...637Latest