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

    user

    01/19/2018, 1:34 PM
    @sdubois commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : that sounds great, you should post it in the github issue 👍
  • u

    user

    01/19/2018, 1:37 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Done!
  • t

    telmo

    01/19/2018, 1:45 PM
    anyone managed to deploy
    prisma
    to now ?
    i
    j
    n
    • 4
    • 11
  • u

    user

    01/19/2018, 2:35 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Figured I’d mention, I’m trying to get a Version scalar type baked into core.
  • u

    user

    01/19/2018, 2:36 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : https://github.com/graphcool/prisma/issues/1369
  • u

    user

    01/19/2018, 2:36 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : I’d love some feedback
  • h

    harmony

    01/19/2018, 2:37 PM
    why do all image comments get published to the channel 🤔
    fast parrot 1
    i
    d
    • 3
    • 5
  • u

    user

    01/19/2018, 2:38 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : I personnally prefer my POC version, just because I don't need to filter on the
    version
    to have my products (so my API don't change, I only add an
    history
    field)
  • u

    user

    01/19/2018, 2:40 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : BTW, if you want this kind of field, you can easily add a hook to process the
    version
    on each update (as me)
  • u

    user

    01/19/2018, 2:40 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : So you’ll never query for a previous record of a product?
  • u

    user

    01/19/2018, 2:41 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : I will, but only if I want the history
  • u

    user

    01/19/2018, 2:41 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : It's just a field (or a collection)
  • u

    user

    01/19/2018, 2:41 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : But I don't want to add a filter to each queries if I only need the last version
  • u

    user

    01/19/2018, 2:42 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : (the versionning is just for the administrative part)
  • u

    user

    01/19/2018, 2:42 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Another use-case is to query only a past version. For example, say I rewrite Github. Being able to go back in time to a previous commit is crucial functionality
  • u

    user

    01/19/2018, 2:42 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : By default, it query’s the latest record
  • u

    user

    01/19/2018, 2:44 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : I can query on PostHistory easily
  • u

    user

    01/19/2018, 2:44 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : 😉
  • u

    user

    01/19/2018, 2:44 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : You’re missing the point and the use case, haha
  • u

    user

    01/19/2018, 2:44 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Maybe ^^
  • u

    user

    01/19/2018, 2:44 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : That becomes a heavy burden to manage
  • u

    user

    01/19/2018, 2:45 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : It make sense to use a single scalar
  • u

    user

    01/19/2018, 2:45 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : For goback I will just update the model
  • u

    user

    01/19/2018, 2:45 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : (as a merge commit)
  • u

    user

    01/19/2018, 2:45 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : 😉
  • u

    user

    01/19/2018, 2:47 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Then it becomes, do you version the entire record every time? Only portions of the record? Validation? What database? Do you need to write this over and over for each database? You’re looking at your use case. I’m looking at the general population and implementing something agnostic to any one use case
  • u

    user

    01/19/2018, 2:47 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : For a fist version, the entire record, to have an easier management
  • u

    user

    01/19/2018, 2:47 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : But yes, I will prefer just a diff
  • u

    user

    01/19/2018, 2:48 PM
    @iamclaytonray commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Haha, okay man 👍
  • u

    user

    01/19/2018, 2:49 PM
    @fabien0102 commented on @fabien0102’s file

    https://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾

    : Not perfect, but it should make the job ^^
1...528529530...637Latest