https://www.prisma.io/ logo
Join Slack
Powered by
# random
  • t

    Taylor

    03/07/2020, 8:14 PM
    Hey all... How would I set up my schema.graphql to handle this response?
  • t

    Taylor

    03/07/2020, 8:15 PM
    [ [ { name: 'full_name', values: [Array] }, { name: 'how_many_miles_has_the_car_done?', values: [Array] }, { name: 'phone_number', values: [Array] }, { name: 'what_is_the_reg_number_of_the_car?', values: [Array] } ]]
  • s

    Samrith Shankar

    03/08/2020, 8:52 PM
    @Taylor
    Copy code
    type ArrayInfoType {
      name: string,
      values: Json @default("[]")
    }
    
    '''Your mutation'''
    myMutation: [[ArrayInfoType]]
  • m

    mikkelsl

    03/09/2020, 1:01 PM
    How are there so many users in here, yet so little activity? Just wondering 😅
  • y

    yorch

    03/09/2020, 1:06 PM
    yeah, and a lot of questions goes unanswered, which is discouraging
    s
    • 2
    • 1
  • d

    Daniel Norman

    03/09/2020, 1:54 PM
    Hey Mikkel, Yorch, and Samrith 👋🏽 , Thanks a lot for sharing your thoughts and sorry to hear that’s been your experience. Prisma 1 is in maintenance mode and we’re working hard to push a stable release of the Prisma 2 (See https://github.com/prisma/prisma/issues/4898). Therefor our support efforts are primarily directed at the new version: Prisma 2. I suggest to check out the more active #prisma2-preview channel where you can get support for Prisma 2 related questions.
    s
    n
    • 3
    • 2
  • l

    Lars Ivar Igesund

    03/09/2020, 2:07 PM
    In my humble opinion, you can't put Prisma 1 support in maintainance mode until you have actually released a complete replacement in the form of Prisma 2 (for me that includes mongodb support)
    👍🏼 1
  • m

    mikkelsl

    03/10/2020, 6:19 PM
    Cool Daniel, the preview channel was just what I was looking for 🙂 I'm super excited for prisma2 by the way. Lack of activity just makes you wonder!
  • j

    jeff

    03/10/2020, 6:49 PM
    Has anyone figured out how to deploy prisma on AWS? All the tutorials seem to be broken there @Harshit @nikolasburk
  • b

    Briggs

    03/10/2020, 7:14 PM
    @jeff EKS, ECS, EBS take your pick just use the docker container and scale like you do any other docker service
  • j

    jeff

    03/10/2020, 8:04 PM
    So along with the graphql server, you are running a mysql instance and running a BE prisma server on that same instance?
  • b

    Briggs

    03/10/2020, 8:07 PM
    no use an RDS DB like aurora mysql or postgres and prisma connect to that db
  • j

    jeff

    03/10/2020, 8:07 PM
    ok, but you are using the ec2 for both the graphql server and primsma server?
  • j

    jeff

    03/10/2020, 8:08 PM
    I'm a AWS noob
  • b

    Briggs

    03/10/2020, 8:09 PM
    got ya, I would not put them on an ec2 server unless you were just wanting to test that or very low load service
  • b

    Briggs

    03/10/2020, 8:10 PM
    im a kubernetes fan myself but could use ECS if you wanted
  • j

    jeff

    03/10/2020, 9:02 PM
    Why kubernetes over ec2? As an aside would love to see a best practice totorial on setting prisma up
  • b

    Briggs

    03/10/2020, 9:29 PM
    lots of reasons really, best practice you have some sort of LB in front of the service that has autoscaling rules of some sort
  • j

    jeff

    03/10/2020, 10:37 PM
    got it
  • j

    jeff

    03/10/2020, 10:54 PM
    is there any information on how much load a prisma demo server could take vs a micro ec2 running a graphql and a prisma backend server? i.e. 100 queries per second?
  • f

    FrankC

    03/11/2020, 1:57 AM
    @Briggs I tried to use RDS DB Aurora & this is what I get when attempting to connect it with the appropriate & correct credentials.
  • b

    Briggs

    03/11/2020, 2:08 AM
    @FrankC did you by chance choose aurora serverless mysql?
  • f

    FrankC

    03/11/2020, 2:08 AM
    No I chose postgresql
  • b

    Briggs

    03/11/2020, 2:09 AM
    is the port open on the db security group to your IP
  • f

    FrankC

    03/11/2020, 2:10 AM
    Good question, I think so
  • b

    Briggs

    03/11/2020, 2:12 AM
    also you specified a database name, for prisma on a fresh db you wont need to specify a db, your first model will create one
  • b

    Briggs

    03/11/2020, 2:13 AM
    I think anyways
  • f

    FrankC

    03/11/2020, 2:14 AM
    ugh
  • f

    FrankC

    03/11/2020, 2:14 AM
    It’s so annoying
  • f

    FrankC

    03/11/2020, 2:14 AM
    I feel like this should be much simpler
1...383940...53Latest