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

    Arvind

    05/01/2018, 2:53 PM
    If anyone has any info, it will be great. Thank you ๐Ÿ™‚
  • r

    ryanmagoon

    05/01/2018, 3:24 PM
    Is there any example of how to write a resolver for third party auth solutions like auth0 or firebase?
    n
    • 2
    • 2
  • r

    ryanmagoon

    05/01/2018, 3:24 PM
    all the examples Iโ€™ve seen are roll your own with bcrypt/express
  • j

    jhony0311

    05/01/2018, 3:41 PM
    Im having issues installing prisma, Iโ€™m getting this:
    Copy code
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  • j

    jhony0311

    05/01/2018, 3:43 PM
    Running Node v8.10.0 and npm 6.0.0
    p
    • 2
    • 7
  • j

    jhony0311

    05/01/2018, 3:43 PM
    Any clue on how to avoid it
  • j

    jhony0311

    05/01/2018, 3:49 PM
    Usually I donโ€™t get this kind of errors when I install global dependencies
  • j

    jhony0311

    05/01/2018, 4:16 PM
    Full Logs
    Copy code
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
    
    npm ERR! path /usr/local/bin/prisma
    npm ERR! code EEXIST
    npm ERR! Refusing to delete /usr/local/bin/prisma: ../lib/node_modules/prisma-cli/dist/index.js symlink target isnot controlled by npm /usr/local/bin
    npm ERR! File exists: /usr/local/bin/prisma
    npm ERR! Move it away, and try again.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/jonathan/.npm/_logs/2018-05-01T15_40_03_088Z-debug.log
  • h

    huv1k

    05/01/2018, 4:17 PM
    Please use threads
    ๐Ÿ‘ 2
  • h

    hinogi

    05/01/2018, 4:22 PM
    I guess this was asked a thousand time by now but anyway. If I have already a mysql db does prisma add another mysql db or does it work on an existing one?
    n
    • 2
    • 3
  • v

    virtualirfan

    05/01/2018, 4:45 PM
    For subscriptions, what version of
    subscriptions-transport-ws
    are folks running? Anyone using a more recent version than
    0.8.x
    ? I'm trying to use
    0.9.8
    and having some issues and wanted to check in with others' experiences before diving deep.
    n
    • 2
    • 3
  • f

    faure

    05/01/2018, 4:48 PM
    Hello everyone I'll be building a single page application soon that in essence all it needs to do is support CRUD features. I am thinking of using Apollo Client with a GraphQL backend. I was planning on simply using Graphcool, I played with it a year ago and it seemed quite straightforward. Now I see Graphcool has this thing called Prisma which if I understand correctly is a framework which allows for hosting GraphQL server oneself. I guess my question would be if my understanding is correct and in addition to that, what are the advantages of running my own GraphQL server over choosing to use hosted solutions like Graphcool used to have a year ago.
    j
    m
    n
    • 4
    • 12
  • s

    Slackbot

    05/01/2018, 5:25 PM
    This message was deleted.
    n
    • 2
    • 2
  • e

    Emi

    05/01/2018, 5:31 PM
    I'm getting this error after trying to upgrade my project to Prisma 1.7.4 (also updated graphql-cli to 2.15.13) and running `yarn dev`:
    prisma.yml should NOT have additional properties. additionalProperty: endpoint
    . I can see in the docs that this
    endpoint
    property is required, so I don't understand what's going on!
    n
    • 2
    • 10
  • p

    pasa

    05/01/2018, 5:31 PM
    Or to ask the question, that is really bothering me. Do I need to set a jwt, if my gql setup looks like this: Graphql server (yoga) (has the secret from the prisma.yml), prisma server (with a secret from the prisma.yml) and a db on aws rds? Is there anything more I need to do, to secure this part of my application and if yes, what?
    n
    • 2
    • 1
  • m

    Maxime Scibetta

    05/01/2018, 5:50 PM
    https://www.graph.cool/forum/t/how-to-create-authentication-with-prisma-database-only/3369
  • a

    Aubron Wood (ScoreShots)

    05/01/2018, 7:48 PM
    Anyone else having an issue with prisma cloud where it won't show any services?
  • a

    Aubron Wood (ScoreShots)

    05/01/2018, 7:49 PM
    I can see in the top left 'three services running', but the list shows the boilerplate 'how to setup your first service' text
  • a

    Aubron Wood (ScoreShots)

    05/01/2018, 7:53 PM
    I can actually reach my dashboard by URL hacking it, but it looks like maybe a librato search is failing on your dashboard and leaving me without a service list
  • m

    michael.graham

    05/01/2018, 8:23 PM
    Hey there! I've used graphql-binding to create neo4j-graphql-binding, a binding to Neo4j graph databases that leverages their neo4j-graphql plugin ๐Ÿ˜„ I'd love any feedback or thoughts folks might have~ https://www.npmjs.com/package/neo4j-graphql-binding
  • p

    pasa

    05/01/2018, 9:14 PM
    When running
    prisma deploy
    I get the following error:
    Copy code
    post-deploy:
    Running graphql get-schema --project database !
     โ–ธ    'ENOENT': spawn graphql ENOENT
    What could cause this?
    n
    • 2
    • 4
  • m

    mrboutte

    05/02/2018, 1:12 AM
    getting ready to run
    prisma export
    so that I have a back up of my prisma db. Just want to make sure I run it right before accidentally nuking my data
  • m

    mrboutte

    05/02/2018, 1:13 AM
    any examples available of what the following command looks like with a dummy folder destination?
    Copy code
    --export-path (short: -e): A file path to a .zip-directory which will be created by the CLI and where the exported data is stored
    n
    • 2
    • 1
  • k

    Khoa Huynh

    05/02/2018, 2:05 AM
    hi guy I have a problem with deploying my types to the cluster. No errors are thrown and I dont know the reason for this. I am using the service for free. I am not sure there is a limitation for a free service?
    n
    • 2
    • 24
  • j

    john

    05/02/2018, 5:24 AM
    I am new to Prisma. I have an existing Apollo Graphql server with business logics etc. Now I created a Prisma API with my data model and it generates a prisma.graghql. cool .. But I don't no how to connect this Prisma API with my existing Apollo GraphQL API. I want to use Prisma API from the resolver part of Apollo Grapghql API. I heard Prisma binding using for that ...But I not much aware about binding ..............Guys pls help....๐Ÿค”
    n
    • 2
    • 2
  • l

    lucbug

    05/02/2018, 8:18 AM
    Hey folks! Do you have any tips on connecting multiple MySQL sources with Graphql ? Any tutorials/articles also appreciated ๐Ÿ™‚.
  • z

    zonofthor

    05/02/2018, 9:09 AM
    batch updating... do I need the where: {...} part if I want to update every row ? (nested update) mutation($chocolateId: ID!) { updateChocolate( where: { id: $chocolateId } data: { sections: { update: { where: {--no filter here, update all--} data: {title:null} }} } ) { id } }
    f
    n
    • 3
    • 32
  • m

    Mike

    05/02/2018, 10:32 AM
    what would be the preferred way to store additional data for a specific combination of entities from two Models (Tables) in the schema? I mean how to store more specific information for entiy A with id X when it's related to entiy B with id Y?
    n
    • 2
    • 6
  • m

    Moritz

    05/02/2018, 11:30 AM
    Hi, I have a question concerning prismas database efficienty. I have the following situation: I have a
    User
    object and a
    Event
    object. A
    User
    is attending many `Event`s and an
    Event
    has many atendees. I have defined queries for users and events via resolver forwarding with the standart
    where
    args generated by prisma. I would like to query all users attending a certain event. What if I decided to query said users attending an event via the
    where
    args in the
    user
    query? Would the prisma backend go through all users (lets say there are 2M users (just dreaming ๐Ÿ™‚ )) or does prisma figure out that it is more efficient to query the event by its id and then return the user objects associated? Just wondering how queries are resolved in prisma ๐Ÿ™‚ Thx
    l
    • 2
    • 1
  • p

    picosam

    05/02/2018, 11:31 AM
    Hello, is it just me or do GraphQL Servers deployed to
    now
    always take at least 40 seconds to boot? I canโ€™t even keep the instance up all the time. Any insights?
    k
    h
    +2
    • 5
    • 17
1...181920...637Latest