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

    Andrew O.

    09/20/2019, 7:41 PM
    I wrote an article on how to create a Relay connection with Nexus I would like to share: https://fullstackdatasolutions.com/graphql-how-to-make-relay-connection-type-with-nexus/
    🚀 1
    j
    r
    • 3
    • 5
  • p

    Peter Dresslar

    09/24/2019, 8:50 AM
    Hey there, shameless self-promotion aside, I really think GraphQL changes more than just APIs:
  • p

    Peter Dresslar

    09/24/2019, 8:50 AM
    https://medium.com/@peterdresslar/graphql-schemas-will-make-your-existing-data-modeling-practices-obsolete-e74f85d44e09?source=friends_link&sk=f1d39eb2560791f02e739781666cfedf
  • p

    Peter Dresslar

    09/24/2019, 8:50 AM
    I genuinely think Prisma is on exactly the right track to take advantage.
    a
    • 2
    • 1
  • j

    jpg

    09/24/2019, 12:27 PM
    Good morning,
  • j

    jpg

    09/24/2019, 12:27 PM
    I'm kind new here, and I have a questions,
  • j

    jpg

    09/24/2019, 12:27 PM
    it's probably somewhere, but i could not find it;
  • j

    jpg

    09/24/2019, 12:28 PM
    There is a estimation somewhere of when the mongo connector will be supported?
    👍 1
  • i

    Isaac Weber

    09/24/2019, 1:55 PM
    How would I be able to filter on an array of an enum type?
    Untitled
    a
    • 2
    • 4
  • m

    Muneeb Akhlaq

    09/25/2019, 7:42 AM
    I am getting an error when I try to deploy prisma
    n
    j
    • 3
    • 10
  • r

    Ryan Tomaselli

    09/26/2019, 11:08 PM
    Hey guys 🙂 so I torched my existing deployment today and when I try add a new prisma server via the prisma.io servers tab I get this message "Creating a new Heroku server is currently disabled." Can anyone explain this? THanks
    👍 1
    d
    • 2
    • 2
  • r

    Ryan Tomaselli

    09/26/2019, 11:09 PM
    I only get the option to "Connect to a Server"
  • r

    Ryan Tomaselli

    09/26/2019, 11:09 PM
  • r

    Ryan Tomaselli

    09/26/2019, 11:09 PM
    Just wondering if this temporary or related to some account setting
  • r

    Ryan Tomaselli

    09/27/2019, 1:44 PM
    Oh cool, the "Connect to a Server" is back to enabled now (must have been temporary). As you were
    👍 1
  • a

    Arnav Verma

    09/27/2019, 8:41 PM
    Hey new prisma user following this tutorial https://manticarodrigo.com/file-handling-s3-prisma-graphql-yoga/ but I realized it a little outdated
  • a

    Arnav Verma

    09/27/2019, 8:42 PM
    const data = {
    filename,
    mimetype,
    encoding,
    url,
    }
    const { id } = await ctx.db.mutation.createFile({ data },
    { id }
    )
    const file = {
    id,
    filename,
    mimetype,
    encoding,
    url,
    }
    console.log('saved prisma file:')
    console.log(file)
    return file
  • a

    Arnav Verma

    09/27/2019, 8:43 PM
    is that the same as
    const file = await context.prisma.createFile(  { filename: filename, mimetype: mimetype, encoding: encoding, url: url} )
    ? where filename, mimetype, encoding and ect are passed in through a function
  • k

    KJReactor

    09/27/2019, 10:14 PM
    It seems that way @Arnav Verma
  • k

    KJReactor

    09/27/2019, 10:15 PM
    Does anyone have an idea why the following would return Error: Cannot return null for non-nullable field Event.id ?
    Copy code
    const res = async ( root, args, ctx ) => await ctx.prisma.updateUser({
            where: {id: promoter.id},
            data: { 
              promotions: { 
                create: [{ ...event }]
              }
            }
          })
    return res;
  • y

    YErii

    09/28/2019, 6:29 AM
    Hi guys, is there anyone know What’s the difference to express list in nexus-prisma
    t.list.field(…)
    vs
    t.field("name", {list: true})
    ?
  • g

    Greg Jordan

    09/29/2019, 5:11 PM
    Hello people, I am new to Prisma and GraphQL. Trying to use Prisma I have run into a plethora of issues that have been solved one by one, save a few. This one is stopping me from moving forward. I am trying to connect to an existing MySQL database I have utilized
    docker-compose up -d
    , that worked then when I use
    prisma deploy
    command, I get the following errors
    j
    k
    • 3
    • 2
  • a

    Andrew O.

    09/30/2019, 6:03 PM
    Hey, I want to share an article I wrote about seeding databases with Prisma: https://fullstackdatasolutions.com/graphql-prisma-how-to-use-typescript-to-seed-data/
    🦜 1
    👏 2
  • y

    Yanir Edri

    10/01/2019, 3:00 PM
    Hey everyone, I'm setting up a simple graphql server, and I can't figure out how to setup simple authentication - I don't need users or roles or whatever, just an unauthenticated mode that exposes the query functions for unauthenticated requests, and mutations are done through the admin playground What's the simplest way to do it?
    n
    m
    k
    • 4
    • 16
  • a

    Andi

    10/02/2019, 7:13 PM
    Hi, any idea how to get feedback on https://github.com/prisma/http-link-dataloader/pull/20 ?
  • a

    abastola

    10/03/2019, 2:01 AM
    Trying out prisma2. Absolutely loving it. 2 hours in and almost completed by backend with over 10+ models/schemas.
    k
    c
    • 3
    • 2
  • e

    evondev

    10/17/2019, 7:38 AM
    Someone somehow know the ip address of _admin db, and they use function that Prisma provide is
    {generateProjectToken(name: "default", stage: "default")}
    in
    /management
    of prisma server to generate token and can access to all database! It's so dangerous. Anyone know how to sercurity this problem ? Many thanks
    e
    • 2
    • 2
  • m

    Matías J. Magni

    10/17/2019, 8:33 PM
    Any ideas on this frontend error? I think it's related with CORS, how can I solve it?
    Copy code
    core.js:6014 ERROR Error: Network error: Http failure response for <https://api.masvino.tv>: 0 Unknown Error
        at new ApolloError (bundle.esm.js:63)
        at bundle.esm.js:1247
        at bundle.esm.js:1559
        at Set.forEach (<anonymous>)
        at bundle.esm.js:1557
        at Map.forEach (<anonymous>)
        at QueryManager.push../node_modules/apollo-client/bundle.esm.js.QueryManager.broadcastQueries (bundle.esm.js:1555)
        at bundle.esm.js:1161
        at ZoneDelegate.invoke (zone-evergreen.js:359)
        at Object.onInvoke (core.js:39698)
    s
    • 2
    • 9
  • m

    Mohammad Javad Ebrahimzadeh

    10/18/2019, 6:40 AM
    i need help with mongodb i have done prisma init and chose create database in mongodb how can i connect with mongodb compass to the exact db?
    j
    • 2
    • 2
  • x

    xiaoqf10

    10/23/2019, 10:52 AM
    Hi everyone, how to change "INLINE" relation to "TABLE" without data loss?
    h
    • 2
    • 1
1...353637...53Latest