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

    shashank

    10/10/2018, 5:12 PM
    I see db-connection details but I don't see any parameter for schema . how will prisma get to know the schema ?
  • s

    shashank

    10/10/2018, 5:31 PM
    Error_when_I_used_fargate_yml.pl
    n
    • 2
    • 7
  • f

    faithful

    10/10/2018, 5:33 PM
    Hi guys not sure if its the same problem i am having now with prisma not recognising schema on my fargate as i see this error on the playground (FYI i am using rds, fargate and ecs with the template from the original doc)
    -.txt
  • s

    shashank

    10/10/2018, 5:34 PM
    @faithful were you able to create the stack in cloud formation ?
  • f

    faithful

    10/10/2018, 5:34 PM
    yeah i was
  • s

    shashank

    10/10/2018, 5:34 PM
    Is your db MySQL or Postgres ?
  • f

    faithful

    10/10/2018, 5:35 PM
    Aurora mysql on rds. Connected using the instance endpoint
  • s

    shashank

    10/10/2018, 5:35 PM
    I am using postgres and I gave all details and I get an error with "AmazonECS" role does not exist and it roll backs .
  • s

    shashank

    10/10/2018, 5:35 PM
    Did you face similar issue ?
  • f

    faithful

    10/10/2018, 5:36 PM
    no didnt face the role issue.
  • g

    Greyson

    10/10/2018, 5:44 PM
    Since it's not common to join the endpoints of the Prisma and application-layer APIs, is it more common to either a) communicate with either API independently on the front end, based on the needs of the request or b) replicate all the needed CRUD operations from Prisma in the Application?
  • f

    faithful

    10/10/2018, 5:51 PM
    @shashank you might need to create the service linked role for your account manually
  • f

    faithful

    10/10/2018, 5:53 PM
    https://docs.aws.amazon.com/AmazonECS/latest/developerguide/check-service-role.html
  • s

    shashank

    10/10/2018, 6:12 PM
    @faithful Still getting same error . That didn't help
  • s

    shashank

    10/10/2018, 6:19 PM
    I am trying to create 1 more role for ec2ecs . https://aws.amazon.com/premiumsupport/knowledge-center/assume-role-validate-listeners/
  • s

    shashank

    10/10/2018, 6:19 PM
    https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance_IAM_role.html
  • n

    nilan

    10/10/2018, 6:24 PM
    Please use threads 🙂 If you want to discuss a bigger topic, I recommend using the Forum instead.
  • n

    nuno

    10/10/2018, 6:48 PM
    Is there any documentation on how to use subscriptions with prisma-binding?
    n
    • 2
    • 8
  • s

    shashank

    10/10/2018, 7:00 PM
    @nilan started thread for the same . I am kind of stuck in deploying in AWS . I would be glad if you could help.
  • f

    faithful

    10/11/2018, 6:41 AM
    can i have a link to the thread?
  • s

    shashank

    10/11/2018, 6:52 AM
    @faithful https://prisma.slack.com/archives/CA491RJH0/p1539192677000100 . @nilan hasn't replied yet
  • h

    halborg

    10/11/2018, 7:11 AM
    Is Metrics not live yet, or did I set it up wrong?
    n
    • 2
    • 6
  • h

    halborg

    10/11/2018, 8:52 AM
    Any thoughts on using Now for Prisma? I’m seeing fairly high request times, around 1-1.5 seconds on average according to Apollo Engine, which is why I was looking for performance metrics for Prisma. Are Zeit Now’s instances fast/large enough to be a suitable Prisma server host, or should I be looking for alternatives, i.e. Heroku or AWS where I can choose the size of the host instances?
  • h

    halborg

    10/11/2018, 8:58 AM
    My setup is: App server on Now (bruxelles), Prisma server on Now (bruxelles), and database on AWS RDS (Paris). Even resolvers of pretty simples queries run around 800ms
  • r

    Rory Kelly

    10/11/2018, 8:58 AM
    I’m just looking in making a prisma service that we are trying to make available across multiple regions. We have an Android app backed by AWS Lambda (running graphql yoga), which is talking to prisma, backed by an aws RDS database. Does prisma have any resources for helping us scale to different regions?
  • s

    Sach97

    10/11/2018, 10:54 AM
    Hi @patrickdevivo, I was wondering if you have experienced autocompletion issues like me as describe there https://github.com/prisma/prisma/issues/3294 ?
    d
    p
    • 3
    • 11
  • u

    Uxname

    10/11/2018, 1:40 PM
    Hi, why i can't deploy this schema? (only when add roles field as array of string)
    n
    • 2
    • 1
  • u

    Uxname

    10/11/2018, 1:40 PM
    deploy hangs on this
  • g

    Greyson

    10/11/2018, 2:07 PM
    Why was resolver-codegen removed from the typescript-graphql-schema-delegation repository? (https://github.com/prisma/prisma-examples/commit/773c80079ab4475f5935eec4d003354149a0786b) Is this module no longer used when creating Prisma-typescript applications?
    n
    • 2
    • 2
  • g

    Greyson

    10/11/2018, 2:25 PM
    So I have in my application a mutation that is meant to be able to create an Account with the option to connect or create Assets that are bound to that account. My mutation looks like:
    createAccount(email: String!, company: String!, accountType: AccountType, assets: AssetCreateManyInput): Account
    . This would be implemented in the same way as the
    newUserWithPosts
    mutation in the Prisma-Client blog post. But for some reason, the generated interface for AssetCreateManyInput looks like this:
    Copy code
    export interface AssetCreateManyInput {
        create: string;
        connect: string;
      }
    Am I implementing this mutation wrong in my schema.graphql? Should I have a different type besides AssetCreateManyInput? I'm assuming that it would infer that type from the imported generated prisma.graphql
    n
    • 2
    • 10
1...134135136...637Latest