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

    Matías J. Magni

    10/14/2019, 4:28 PM
    sudo docker logs 9894bd00c05a
    MySQL_v5_7_22.sh
  • j

    Jovaanc

    10/14/2019, 4:28 PM
    Hi, I have a problem... I want to retrieve an array of "Role2" in my context of prisma... I send you my code
    • 1
    • 3
  • m

    Matías J. Magni

    10/14/2019, 4:28 PM
    Hi, does anyone know why I'm having this error?
  • m

    Matías J. Magni

    10/14/2019, 4:30 PM
    docker-compose.yml
    d
    • 2
    • 2
  • m

    Matías J. Magni

    10/14/2019, 4:51 PM
    This is my problem, please I need help: https://stackoverflow.com/questions/58380993/innodb-corruption-in-the-innodb-tablespace-mysqld-got-signal-6
  • b

    Bardhi

    10/15/2019, 12:38 AM
    Hello, does anyone know if Prisma server supports tracing (as in, OpenTracing)? This is all I could find https://github.com/prisma/prisma/issues/1209
  • a

    Alexander

    10/15/2019, 8:46 AM
    how do you handle schema invalidations (e.g. schema changed on server but client still uses / requests old schema resulting in errors)? is there a best practice framework for this or do you invalidate cache and so on manually?
  • k

    Khoa Le

    10/15/2019, 10:39 AM
    hi everyone
  • k

    Khoa Le

    10/15/2019, 10:39 AM
    is there a good resource to deploy Prisma 1.34 to digital ocean
    👍 1
    t
    d
    • 3
    • 4
  • a

    Adolfus Adams

    10/15/2019, 1:47 PM
    After running the command; prisma init > Use existing database Connect to existing database > MongoDB Mongo Database > Enter MongoDB connection string ...and entering the connecting string for MongoDB Atlas the following error message is displayed. (node:16228) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. How can this be fixed?
  • m

    Matías J. Magni

    10/15/2019, 2:26 PM
  • m

    Matías J. Magni

    10/15/2019, 2:26 PM
    Untitled
  • m

    Matías J. Magni

    10/15/2019, 2:27 PM
    datamodel.prisma
  • m

    Matías J. Magni

    10/15/2019, 2:28 PM
    Does anyone know how to solve this?
  • j

    Jimmy Hung

    10/15/2019, 2:44 PM
    Has anyone here implemented subscriptions with ApolloClient in a node.js setting? Need some help with subscribe method, not much description in their doc.
  • m

    Matías J. Magni

    10/15/2019, 4:25 PM
    Can anyone help me please with this issue: https://stackoverflow.com/questions/58398962/prisma-graphql-error-whoops-looks-like-an-internal-server-error ?
  • c

    Colin Eyo

    10/15/2019, 5:22 PM
    Hi Folks. Where is the proper place to post issues with prisma cloud?
  • f

    Faurest

    10/16/2019, 8:30 AM
    Can anyone help me with this issue : https://stackoverflow.com/questions/58408716/ive-a-e2big-error-when-i-try-to-deploy-prisma ?
  • l

    Lucas Franco

    10/16/2019, 12:36 PM
    Hi, i'm runing an apollo server and react-create-app on front end when I do prisma deploy I get
    Copy code
    Could not connect to server at <http://127.0.0.1:7000>. Please check if your server is running.
    t
    • 2
    • 2
  • l

    Lucas Franco

    10/16/2019, 12:37 PM
    any ideas?
  • d

    david calcus

    10/16/2019, 2:38 PM
    Hi all. We have setup a new Prisma service and build a graphQL server on top of nexus. We now would like to import some legacy data from a separated mysql database. Any advice how to achieve this? The
    prisma import
    only works with flat files.
    h
    • 2
    • 1
  • m

    Matías J. Magni

    10/16/2019, 3:13 PM
    Still having this problem, any ideas here? Please!
  • s

    Smakosh

    10/16/2019, 6:44 PM
    Do I keep learning prisma-binding or do I move on to Prisma 2?
    h
    • 2
    • 2
  • m

    Mitesh Athia

    10/17/2019, 3:30 AM
    Is there a way around batched execution of prisma-client queries in resolvers? I would like to accomplish the following, where the
    issue
    returns without having to await the `createNotification`:
    Copy code
    resolve: async (_parent, args, ctx) => {
      const issue = await ctx.prisma.updateIssue(args);
      ctx.prisma.createNotification({
        objectId: issue.id,
        ...
      });
      return issue;
    }
    Unfortunately, this does not work. If
    createNotification
    is not consumed/awaited it is never called. Thanks!
  • e

    evondev

    10/17/2019, 7:32 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
  • i

    isemaj

    10/17/2019, 7:49 AM
    is there a way to get the highest value of field?
    m
    • 2
    • 1
  • d

    Daniel

    10/17/2019, 9:12 AM
    I'm using a Prisma generated Client and working with the update function this function is returning a promise but when i chain a then(func, null) and a catch(func) the catch block doesn't get the original error but if i replace the null within then with another error-function it works as expected and i get the error from the Prisma.update that is my original Code:
    Copy code
    return ctx.prisma.updateUser({
        data:{role:(action === "set")?{connect:{id:role.id}}:{disconnect:{id:role.id}}},
        where:{id: user.id}
      })
      .then((u)=> {console.log("updated:", u); return true;})
      .catch(err => {console.log("myError:",err); return false;});
    • 1
    • 1
  • m

    Mohammad Javad Ebrahimzadeh

    10/17/2019, 12:24 PM
    hi guys
  • m

    Mohammad Javad Ebrahimzadeh

    10/17/2019, 12:25 PM
    i have problem with prisma deploy
  • m

    Mohammad Javad Ebrahimzadeh

    10/17/2019, 12:25 PM
    ! Could not connect to server at http://localhost:4466. Please check if your server is ! running. Get in touch if you need help: https://slack.prisma.io To get more detailed output, run $ export DEBUG="*"
1...321322323...637Latest