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

    jdoyle112

    09/17/2018, 3:50 PM
    That is what I see
  • h

    Henry

    09/17/2018, 5:09 PM
    So I updated this morning and all of my code using
    $delegate
    is broken, how are we supposed to load relations in queries now?
  • c

    colburn

    09/17/2018, 5:09 PM
    I believe delegations have been removed from prisma client
  • c

    colburn

    09/17/2018, 5:09 PM
    and you are expected to use prisma-bindings if you need to use schema delegation
  • h

    Henry

    09/17/2018, 5:09 PM
    From what I’m seeing it looks like that is indeed the case, what is the intended replacement?
  • h

    Henry

    09/17/2018, 5:10 PM
    Isn’t prisma-client the replacing to bindings? I’m supposed to have both in my project now?
  • c

    colburn

    09/17/2018, 5:11 PM
    I guess so. I found this out when pointing out an issue in the documentation
  • d

    Dan Thareja

    09/17/2018, 5:12 PM
    It seems the team is working on documenting the migration path. There’s an open issue discussing this: https://github.com/prisma/prisma/issues/3104 Please consider chiming in to make the conversation more public
    👍 3
    h
    n
    • 3
    • 5
  • j

    Jidé

    09/17/2018, 5:12 PM
    so much confusion around prisma client/binding 🙂
    n
    l
    n
    • 4
    • 4
  • d

    dennisko

    09/17/2018, 6:58 PM
    hey I am getting
    code: 3016 message: "Project not found: 'default$default'"
    after deploying to DO
  • d

    dennisko

    09/17/2018, 6:58 PM
    when trying to access
    /
  • d

    dennisko

    09/17/2018, 6:59 PM
    listProjects
    returns 1 project as "prisma, staging"
  • d

    dennisko

    09/17/2018, 7:00 PM
    I guess the deploy got the names wrong but how can I change that
  • d

    dennisko

    09/17/2018, 7:02 PM
    prisma deploy - Deploying service prisma to stage staging to server default
    l
    • 2
    • 11
  • j

    jreeeee

    09/17/2018, 9:18 PM
    is it possible to pull in a remote schema, but also defined resolvers in your own api before passing the query to the remote graphql service?
    n
    • 2
    • 4
  • c

    CHaBou

    09/17/2018, 9:35 PM
    Hi all! Can anybody help me with a concurrency issue? 🙏 I want to update a node only if its
    status
    field value is compatible. How can I ensure that? The only way I found is to use
    updateMany
    (even to update a single entity) with a constraint on
    status
    value. It works great but batch updates don't trigger subscriptions 😞
    a
    • 2
    • 3
  • m

    marcaaron

    09/17/2018, 9:43 PM
    Has anyone managed to paginate nested subfields with Prisma Client ?
    h
    n
    • 3
    • 15
  • a

    Andres Montoya

    09/17/2018, 11:54 PM
    Hi, someone has any example about webpack and workbox with background sync? Thanks 😁
    n
    • 2
    • 5
  • c

    condef5

    09/18/2018, 3:37 PM
    https://www.prisma.io/docs/get-started/03-build-graphql-servers-with-prisma-e001/
  • c

    condef5

    09/18/2018, 3:37 PM
    what is my mistake
  • c

    condef5

    09/18/2018, 3:41 PM
    My logs
    n
    • 2
    • 11
  • c

    corey.clark

    09/18/2018, 6:38 PM
    I’m trying to populate graphql Playground IDE with the query and the variables by using a browser URL link like so… http://localhost:4000/graphql?query=query+Greeting($name:%20String){greeting(name:%20$name){name}}&variables={%22name%22:%22Corey%22} The query portion works fine, but the variables won’t populate. Am I missing something? 🤔 This works fine in Graphiql.
    n
    • 2
    • 1
  • x

    Xiaoyun Yang

    09/19/2018, 1:41 AM
    Hey, guys. How do we return relations in the new prisma-client? It seems the
    prisma.posts()
    command will omit the
    author: User!
    field since it's a relation. Do I have to write my own fragment or another graphql query to send via
    prisma.request
    ? This seems a little redudant, and I want to use what
    prisma
    has already generated.
    w
    n
    • 3
    • 4
  • g

    go4cas

    09/19/2018, 5:12 AM
    Hey guys ... I'm busy looking at the possibility to convert an existing ReST API to Prisma. It seems that most of the services can be migrated over with not too much hassle. I do have question about the following features though: (1) Permissions: Is there solution for ACL/RBAC? CUrrently I have a few tables with roles and permissions, and the API builds an ACL list that gets passed to the client (use to protect certain client-side routes, show/hide some features, etc)? (2) Audit Trail: At the moment I log all actions (PUT/POST/DELETE) in an audit table. Is there a built-in auditing module in Prisma? (3) Event Sourcing: Anyone implementing event sourcing with a Prisma?
    👍 1
    w
    • 2
    • 2
  • g

    gbr-422777

    09/19/2018, 8:05 AM
    Hey everyone, is the integration with neo4j anywhere on the near timeline? And how can we help
  • j

    Julien Goux

    09/19/2018, 8:12 AM
    Hello
  • j

    Julien Goux

    09/19/2018, 8:12 AM
    I'm testing the beta with the generated javascript client
  • j

    Julien Goux

    09/19/2018, 8:13 AM
    Is there a new strategy to leverage type safety when importing schema types when defining our own schema?
  • j

    Julien Goux

    09/19/2018, 8:13 AM
    Like avoiding graphql-imports with comment lines but using something like graphql-tag?
  • j

    Julien Goux

    09/19/2018, 8:14 AM
    @schickling Maybe you have an opinion about this 🙂
1...120121122...637Latest