https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# prisma-whats-new
  • h

    harrisrobin

    01/20/2018, 4:27 PM
    Is there a way to have multiple creates in a mutation, like so:
    multiple_create_in_mutation.js
  • p

    picosam

    01/20/2018, 4:57 PM
    Hello, if I use
    prisma init
    without using a boilerplate, do I forego anything that I won’t be able to add later?
    n
    • 2
    • 6
  • t

    tfiwm

    01/20/2018, 5:07 PM
    Hello everybody trying to add a custom field to my schema.graphql which imports the type from the generated one of prisma db anyone has an idea which is a good common way to do this? Why i want to do this? I am migrating from graphcool and there we have meta data and i am using the count -> need this now too
  • h

    harrisrobin

    01/20/2018, 5:43 PM
    Anyone has any insight on this error?
  • n

    nilan

    01/20/2018, 5:43 PM
    @harrisrobin looks like an invalid generator in the
    prepare-binding
    extension in your GraphQL configuration 🙂
  • h

    harrisrobin

    01/20/2018, 5:45 PM
    thanks, looking into that. EDIT: just an indentation issue 😅
  • t

    Tobi

    01/20/2018, 6:29 PM
    After a fresh
    prisma init
    ,
    prisma local start
    and a
    prisma deploy
    i get on
    <http://localhost:4466/vocabulary/dev>
    the following:
    Copy code
    {
      "code": 3015,
      "requestId": "api:api:cjcnop9gw000f0188ux5yjtz6",
      "error": "Your token is invalid. It might have expired or you might be using a token from a different project."
    }
    Any ideas?
    n
    j
    • 3
    • 8
  • h

    harrisrobin

    01/20/2018, 7:47 PM
    @nilan this command from the docs:
    docker exec -it prisma-db mysql -u root --host 127.0.0.1 --port 3306 --password=prisma
    Does not seem to work for me on a fresh project. I get this rejection:
    Copy code
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    k
    • 2
    • 3
  • h

    harrisrobin

    01/20/2018, 7:49 PM
    actually, i tried it on this project: https://github.com/graphcool/graphql-server-example
  • t

    tfiwm

    01/20/2018, 8:36 PM
    Somebody tried to use extend type in prisma? for me it is not working 😞
  • h

    harrisrobin

    01/20/2018, 8:44 PM
    I think only the
    count
    is available via
    aggregate
    . I've been trying to aggregate an average but i do not see it in the schema.
  • h

    harrisrobin

    01/20/2018, 8:44 PM
    https://github.com/graphcool/prisma/issues/1312
  • h

    harrisrobin

    01/20/2018, 8:44 PM
    yeah just checked its planned for 1.0
  • m

    magus

    01/20/2018, 11:31 PM
    Functions still not working?
  • m

    magus

    01/20/2018, 11:36 PM
    Yeah I’m modifying a function and it’s returning something else every time
  • m

    magus

    01/20/2018, 11:36 PM
    Like it isn’t updating the response if I modify the query ...
  • m

    magus

    01/20/2018, 11:40 PM
    This is pretty bad yea definitely not working
  • m

    magus

    01/20/2018, 11:41 PM
    Logs show one return value
  • m

    magus

    01/20/2018, 11:41 PM
    But client receives another
  • m

    magus

    01/20/2018, 11:41 PM
    Caching layer?
  • m

    magus

    01/20/2018, 11:56 PM
    I’ve narrowed it down if I force back fake data it works. The schema is NOT updating though so I cannot add or remove new fields.
  • j

    Joel

    01/21/2018, 5:18 AM
    Question: Should `operationAfter`s be firing when things are created via nested mutations? eg:
    Copy code
    mutation {
      createFish(color: "blue", scale: { size: 10 }) {
        id 
      }
    }
    And suppose I have an
    operationAfter
    on
    scale
    creation
  • d

    Daniel Min

    01/21/2018, 5:21 AM
    Hey guys, first of all, I want to apologize about dumb question and bad english skill 😢. but I really want to use Prisma on armv7 machine. so, I want to run local prisma server with custom MySQL docker image. because Prisma's MySQL image doesn't support armv7 architecture by default. so I tried to replace MySQL image which is armv7 supported but there's no docs for making custom image for Prisma local server. so my question is: Is there a doc of making custom image for prisma local server? and is it possible?
    h
    • 2
    • 15
  • w

    wbartussek

    01/21/2018, 6:49 AM
    Hi, just beginning to use Graphcool. Wanted to know more about GraphQl IDL, but the link to https://www.graph.cool/docs/faq/graphql-idl-schema-definition-language-kr84dktnp0 seems to be broken. E.g. from Twitter as well as from the first hit on Google if you are looking for "graphql idl".
    m
    • 2
    • 1
  • v

    vistriter

    01/21/2018, 8:46 AM
    hello, I have problem about loading component
  • v

    vistriter

    01/21/2018, 8:46 AM
    https://www.useloom.com/share/c407636fa24649b59c7459e18eb818ca
  • v

    vistriter

    01/21/2018, 8:46 AM
    i want to make like twitch
    h
    • 2
    • 2
  • v

    vistriter

    01/21/2018, 8:46 AM
    https://www.twitch.tv/
  • p

    picosam

    01/21/2018, 9:07 AM
    Hello, anyone worked on a Prisma/Auth0 example already? If not I’ll try to do one this week.
    e
    m
    +3
    • 6
    • 13
  • t

    tfiwm

    01/21/2018, 11:55 AM
    Anyone managed to create his own subscription resolver in prisma? I have no idea how to access the pubsub service in my resolver like i can do this in graphql-yoga
    d
    • 2
    • 18
1...532533534...637Latest