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

    Simon

    02/10/2018, 9:38 AM
    i have a mutation in my api to create a element in a list of an object
  • s

    Simon

    02/10/2018, 9:38 AM
    this is my mutation so far
  • s

    Simon

    02/10/2018, 9:38 AM
    -.txt
  • s

    Simon

    02/10/2018, 9:39 AM
    as parameters i want the id where the MrX should be added and the name of the mrx
  • s

    Simon

    02/10/2018, 9:39 AM
    so i was under the impression, that i had to load the gamesession and put it into mrx
  • s

    Simon

    02/10/2018, 9:39 AM
    mrx and gamesession has a 1to1 relation
  • s

    Simon

    02/10/2018, 9:40 AM
    the mrxCreateInput has a weird object inside “GameSessionCreateOneWithoutMrXInput”
  • s

    Simon

    02/10/2018, 9:41 AM
    do i get this from my game sesion or how?
  • s

    Simon

    02/10/2018, 9:42 AM
    or do i have something completely wrong because i think too restlike?
    m
    • 2
    • 30
  • y

    yz

    02/10/2018, 10:07 AM
    need some help with prep.
  • y

    yz

    02/10/2018, 10:08 AM
    Before starting, I want to know if it works good with a CDN i.e. cloudfront
    m
    s
    • 3
    • 2
  • m

    Michael Zoidl

    02/10/2018, 10:34 AM
    🤔 just asking, do i need the
    @relation
    when i want to make a relation between to models? I've problems with my schema at the moment and have seen a example from graph-cool (landing-page) where they dont use this
    @relation
    thing ...
    e
    • 2
    • 6
  • k

    kdieubenit

    02/10/2018, 10:45 AM
    Hello guys how are you?
  • k

    kdieubenit

    02/10/2018, 10:55 AM
    I would like to ask you a question, if someone knows how to import my users, and the schema from another graphcool?
    m
    s
    • 3
    • 3
  • s

    Simon

    02/10/2018, 11:57 AM
    i would like to overload some resolvers, so i can have multiple queries over the same endpoint. Like something like that:
  • s

    Simon

    02/10/2018, 11:57 AM
    -.txt
  • s

    Simon

    02/10/2018, 11:59 AM
    i also thought about making the string nullable, but i do not want to make a “If (queryParameter)… as this might result in a lot of if/else stuff depending on the given arguments
  • s

    Simon

    02/10/2018, 11:59 AM
    does anybody have an idea how to solve this nicely?
  • s

    Simon

    02/10/2018, 11:59 AM
    like maybe i want to filter for age and other stuff later on
  • m

    Michael Zoidl

    02/10/2018, 12:45 PM
    Hm.. does anyone know if prisma also gets a UI like graph-cool? (when i understand everything right it looks like graph-cool moves to prisma)
  • m

    maarteNNNN

    02/10/2018, 12:49 PM
    @Michael Zoidl I've that graphcool will keep existing
  • m

    maarteNNNN

    02/10/2018, 12:49 PM
    I've read*
  • s

    senorcodecat

    02/10/2018, 12:50 PM
    Yep it will
  • m

    Michael Zoidl

    02/10/2018, 12:50 PM
    But why is prisma a copy of graph-cool? I mean.. everything but the console / login
    b
    • 2
    • 1
  • n

    notrab

    02/10/2018, 12:51 PM
    It’s not ¯\_(ツ)_/¯
  • m

    Michael Zoidl

    02/10/2018, 12:53 PM
    i mean the basics, like the CLI, the core seems to be completly different
  • m

    maarteNNNN

    02/10/2018, 12:54 PM
    What is the difference between to playground localhost:4466/xxxx/dev and the localhost:4000 yarn dev environment?
  • m

    maarteNNNN

    02/10/2018, 12:54 PM
    I'm not getting the login and signup mutations at the port 4466
    m
    • 2
    • 10
  • s

    Simon

    02/10/2018, 1:53 PM
    Does anybody know how i can use enums in prisma? I have a type like this
  • s

    Simon

    02/10/2018, 1:54 PM
    -.txt
1...567568569...637Latest