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

    Osama Salama

    07/17/2019, 10:17 AM
    and by all means Thank you, and happy to join the community πŸ™Œ
  • d

    DizzyCoder

    07/20/2019, 1:01 PM
    Hello Everyone 🀟 I'm new to GraphQL, I followed the tutorial from
    Copy code
    <https://www.prisma.io/docs/1.34/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/>
    after command
    prisma deploy
    the table should be added to my postgresql , but I check the postgres docker container
    docker exec -it my_container psql -U prisma
    Β₯z
    return 0 rows so the deploying would not do any change for database?
  • n

    Nikolaj Ivancic

    07/20/2019, 3:35 PM
    After joining Prisma, I decided to run this tutorial: https://www.howtographql.com/graphql-js/0-introduction/. The very first real action:
    Copy code
    yarn add graphql-yoga
    resulted with following warnings
    Copy code
    Ξ» yarn add graphql-yoga
    yarn add v1.9.4
    info No lockfile found.
    [1/4] Resolving packages...
    warning graphql-yoga > apollo-upload-server@7.1.0: Please migrate to <https://npm.im/graphql-upload> (see <https://git.io/fADhl>).
    [2/4] Fetching packages...
    [------------------------------------------------------------------------------------------------------------------] 0/124(node:21444) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    [3/4] Linking dependencies...
    warning "graphql-yoga > graphql-playground-middleware-lambda@1.7.12" has unmet peer dependency "aws-lambda@^0.1.2".
    warning "graphql-yoga > graphql-subscriptions@0.5.8" has incorrect peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0".
    warning "graphql-yoga > apollo-server-express > apollo-server-core@1.4.0" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
    warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-tracing@0.1.4" has incorrect peer dependency "graphql@0.10.x - 0.13.x".
    warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-cache-control@0.1.1" has incorrect peer dependency "graphql@0.10.x - 0.13.x".
    warning "graphql-yoga > apollo-server-express > apollo-server-core > graphql-extensions@0.0.10" has incorrect peer dependency "graphql@0.10.x - 0.13.x".
    indicating that
    graphql-yoga
    is not current. Is this well-known issue where nobody cares to fix, or should I report this as an issue in GitHub?
    πŸ‘ 3
  • n

    Nikolaj Ivancic

    07/22/2019, 2:02 AM
    It seems that my previous comment about warnings in the process of installing graphql-yoga was not interesting enough to solicit a comment or two. Let me try with a real problem, encountered in running the command
    prisma deploy
    in the tutorial `https://www.howtographql.com/graphql-js/4-adding-a-database/`:
    b
    v
    • 3
    • 2
  • n

    Nikolaj Ivancic

    07/22/2019, 2:02 AM
    Copy code
    Ξ» prisma deploy
     !    Cannot read property 'custom' of undefined
  • n

    Nisham p

    07/24/2019, 7:48 AM
    https://stackoverflow.com/questions/57177793/cannot-return-null-for-non-nullable-field-tag-links
  • n

    Nisham p

    07/24/2019, 7:49 AM
    any hel is appreciated
  • c

    Carl Bowen

    07/24/2019, 11:15 AM
    Hi all. Sorry just a question about GitHub Slack integrations. I want one channel for issues and another channel for pull requests
  • c

    Carl Bowen

    07/24/2019, 11:16 AM
    Can I just subscribe each channel with just one update from GitHub?
  • c

    Carl Bowen

    07/24/2019, 11:17 AM
    So channel github-issues is subscribed to issues being opened, closed, etc, while github-pulls is subscribed only to pull requests being raised? Cheers
  • p

    Palash Gupta

    07/27/2019, 11:51 AM
    Can anyone help me out how to update the unique field data in the prisma!
    h
    • 2
    • 1
  • p

    Palash Gupta

    07/27/2019, 11:53 AM
    Copy code
    "message": "A unique constraint would be violated on User. Details: Field name = email",
    j
    • 2
    • 1
  • p

    patrick

    07/29/2019, 4:42 PM
    We’re putting people in remission of type 2 diabetes, and powered by Prisma πŸš€β€οΈ Just launched on Product Hunt πŸ‘‡ https://www.producthunt.com/posts/span
    πŸ’― 4
    πŸŽ‰ 7
    πŸ’ͺ 9
    🦜 5
  • d

    deactivateduser

    07/31/2019, 4:16 PM
    small question: is there no bulk create? πŸ€”
    j
    h
    • 3
    • 7
  • d

    deactivateduser

    07/31/2019, 7:37 PM
    Already another question: Does the following message indicate that there's already an entry with the same id?
    Error: A unique constraint would be violated on User. Details: Field name = id
    h
    • 2
    • 12
  • a

    Alexander

    08/01/2019, 10:11 AM
    Since a couple of days (maybe we updated some dependencies, but cant really back track the root of the issue) errors that are thrown in a resolver dont result in a error returned to the client, but instead the execution of the resolvere is interrupted and null is returned. This results in an error caused by not returning the expected type but null instead, e.g. "Cannot return null for non-nullable field Mutation.setPassword.". Previously when we threw an ApolloError for example the execution was interrupted and the error was returned to the caller / frontend. A workaround is to use "return new ApolloError" instead of "throw new ApolloError" however this messes up our ts type defintions since of course the resolver expects a certain type to be returned (e.g. Promise<User>) and not an ApolloError type. The apollo server documentation is pretty clear about error handling and uses throw statements, but this stopped working for us as described above. Any one else experienced this issue? What could be the root cause? How do you handle errors in your application?
  • c

    catalinmiron

    08/01/2019, 7:19 PM
    I’m live guys:

    https://www.youtube.com/watch?v=vFtDPVnzFLMβ–Ύ

    Learn how to create a @reactnative animated slider picker for birthday date with @expo.
    πŸ™Œ 2
    πŸ’― 1
  • k

    Kamal

    08/02/2019, 7:12 AM
    Hi,
  • k

    Kamal

    08/02/2019, 7:13 AM
    How can I make a composite key in prisma datamodels?
    h
    • 2
    • 1
  • m

    metaheap

    08/04/2019, 6:02 AM
    "Environment variable not found: DATABASE_URL." - running on preview 5. Has anyone else been able to get EV working?
  • m

    Marc

    08/05/2019, 10:31 AM
    Checkout a starter template for 😻nest and Prisma https://github.com/fivethree-team/nestjs-prisma-starter feedback is appreciated
    πŸ’― 7
  • j

    Jovaanc

    08/05/2019, 10:31 AM
    Does anyone have an example of an API server using prisma, Apollo Server, express, and a Mongo database ?
    j
    • 2
    • 2
  • j

    Jovaanc

    08/05/2019, 10:32 AM
    For an authentication server...
  • j

    Jovaanc

    08/05/2019, 10:32 AM
    As a microservice
  • m

    Muhaki

    08/06/2019, 12:35 PM
    Hi guys, have anyone used Prisma with mssql?
    h
    h
    +3
    • 6
    • 14
  • d

    dex

    08/07/2019, 3:23 PM
    hello, anyone have tutorial about prisma multi tenancy ? alternative from zenika?
    e
    • 2
    • 10
  • a

    Alexander Ivanov

    08/07/2019, 8:17 PM
    hey there
  • a

    Alexander Ivanov

    08/07/2019, 8:17 PM
    i saw that the second version of prisma is out, but in beta
  • a

    Alexander Ivanov

    08/07/2019, 8:18 PM
    so my question is will it be easy to upgrade to it
  • a

    Alexander Ivanov

    08/07/2019, 8:18 PM
    from the lastest stable version now
1...333435...53Latest