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

    randomnerd

    11/09/2017, 3:22 PM
    you should remove quotes for enum
  • c

    cameronrll

    11/09/2017, 3:23 PM
    so just send it Orange?
  • r

    randomnerd

    11/09/2017, 3:23 PM
    yep, should work that way
  • c

    cameronrll

    11/09/2017, 3:23 PM
    thank you ๐Ÿ™‚
  • v

    Vinnie

    11/09/2017, 3:32 PM
    Given
    Copy code
    enum Role {
      EDITOR,
      CONTRIBUTOR
    }
    
    type User @model {
      createdAt: DateTime! # read-only (managed by Graphcool)
      email: String @isUnique
      id: ID! @isUnique # read-only (managed by Graphcool)
      name: String! @isUnique
      password: String
      roles: [Role!]
      updatedAt: DateTime! # read-only (managed by Graphcool)
    }
    should I expect
    roles_*
    fields in
    UserFilter
    ? Because I donโ€™t, but I would expect to.
    n
    • 2
    • 1
  • r

    randomnerd

    11/09/2017, 3:37 PM
    nope, it will only give those for a named relation
  • v

    Vinnie

    11/09/2017, 4:31 PM
    My understanding is that has got more to do with the fact that is a scalar list (thanks @nilan) โ€” if it were to be
    roles: Role!
    rather than what I have now, it would work (as per docs: https://www.graph.cool/docs/tutorials/auth/authorization-for-a-cms-miesho4goo/)
  • v

    Vinnie

    11/09/2017, 4:32 PM
    Essentially, I have to go back having Role as a type with an N:M relationship on User, just as I had originally designed โ€” should read more carefully ๐Ÿ™‚
  • v

    Vinnie

    11/09/2017, 4:40 PM
    Anyway, GraphCool guys, since your core is written in Scala, you surely must know whatโ€™s the best resource to start learning Scala. Ideally looking for something that encompasses everything from the basics to advanced stuff.
  • v

    Vinnie

    11/09/2017, 5:41 PM
    Anyone ever seen this?
    Copy code
    There are issues with the new service definition:
    
      Global
        โœ– None.get
    a
    n
    • 3
    • 16
  • d

    denali

    11/09/2017, 6:05 PM
    Hi There! Am I in the right place to discuss feature in chromeless? https://github.com/graphcool/chromeless
  • d

    denali

    11/09/2017, 6:05 PM
    ?
  • n

    nilan

    11/09/2017, 6:06 PM
    Github is probably a better choice for that. Feel free to join #serverless, too ๐Ÿ™‚
  • d

    denali

    11/09/2017, 6:07 PM
    Sounds good
    ๐ŸŽ‰ 1
  • d

    denali

    11/09/2017, 6:07 PM
    thanks
  • f

    Fitch

    11/09/2017, 6:18 PM
    Is there a fork of GraphCools Launchpad?
  • f

    Fitch

    11/09/2017, 6:18 PM
    setting up tests for chromeless and .. going to install npm launchpad if not
  • f

    Fitch

    11/09/2017, 6:20 PM
    ... and found - https://github.com/graphcool/graphql-playground
  • n

    nilan

    11/09/2017, 6:31 PM
    Hey @Toosick great to have you with us ๐Ÿ™‚
    ๐Ÿ–– 1
  • t

    Toosick

    11/09/2017, 6:35 PM
    Hola. Yep banking on using Graphcool in a current client project. Will see me around alot ๐Ÿ˜Ž . So we can only run 30 mutations per second with the shared cluster thus nested migrations can cause issues?
    n
    m
    f
    • 4
    • 5
  • n

    nilan

    11/09/2017, 6:53 PM
    set the channel topic: General Graphcool chat - please post questions to the Community Forum: https://www.graph.cool/forum/ Archive: https://graphcool.slackarchive.io/general
  • p

    peterp

    11/09/2017, 7:43 PM
    If we're already using
    dotenv
    and
    .env
    files, can we get this to work with
    graphcool.yml
    or do we need to use
    direnv
    ?
  • p

    peterp

    11/09/2017, 7:44 PM
    is it a
    yaml
    file thing?
  • p

    peterp

    11/09/2017, 7:44 PM
    just saw the channel topic
  • t

    timwis

    11/09/2017, 8:30 PM
    Hey, is there an example out there of someone testing their graphcool framework project? in particular testing permissions. A tutorial or docs would be amazing but I can figure it out if thereโ€™s an example repo out there.
    ๐Ÿ‘† 1
  • b

    bexhoward1

    11/09/2017, 8:42 PM
    Hi, trying to follow the 'User Authentication with Email for React and Apollo' tutorial. Ive installed the template but the files are different. Im getting .ts files. Im also getting this error, anyone know how to fix this?
    i
    • 2
    • 2
  • b

    bexhoward1

    11/09/2017, 8:43 PM
    -.txt
  • b

    bexhoward1

    11/09/2017, 8:53 PM
    I can see the templates have been updated so presume the tutorial is out of date now
  • j

    Jim McFarland

    11/09/2017, 8:53 PM
    Has anyone deployed a graphcool project to Kubernetes? Deploying locally creates the 3 docker images/containers for a project. I am trying to figure out how to get from there to deploying the 3 images to Kubernetes, instead of just running on AWS.
    f
    a
    • 3
    • 3
  • f

    Fitch

    11/09/2017, 8:53 PM
    On Rancher 2 using k8 network driver and terraform
1...418419420...637Latest