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

    julianbauer

    06/22/2016, 2:15 PM
    Hi guys! I got a similar error like @rene, when trying to edit a model connection, it jumps to the first model of another project. Any ideas?
  • s

    sorenbs

    06/22/2016, 2:15 PM
    I’ll have a look right away 🙂
  • j

    julianbauer

    06/22/2016, 2:16 PM
    Thanks 🙂
  • r

    rene

    06/22/2016, 2:42 PM
    Hi is there a way to read out when which data was created or last updated?
  • s

    sorenbs

    06/22/2016, 2:46 PM
    Currently there is no build in way to do this. The current way to implement this is to create two new DateTime fields and make sure to set them correctly when you create and update an item. The way we plan to support this is to introduce computed default values, so you would be able to add createdAt and updatedAt fields with default values that would insert the create time and update time respectively.
  • s

    sorenbs

    06/22/2016, 2:46 PM
    Do you think this would fit your use case?
  • r

    rene

    06/22/2016, 2:49 PM
    Yeah that would be great. Because most backend services (that host data) usually has these fields built in.
  • r

    rene

    06/22/2016, 2:50 PM
    Because I don’t see a reason not to include them
  • r

    rene

    06/22/2016, 2:50 PM
    maybe prefix them like this “__dateCreated”. this way they wouldn’t conflict with datatypes that the user creates
  • r

    rene

    06/22/2016, 2:51 PM
    maybe also make a field called “__deleted” that symbolizes a soft delete
    👍 1
  • r

    rene

    06/22/2016, 2:51 PM
    sometimes it would be great to recover data that was “deleted”
  • r

    rene

    06/22/2016, 2:52 PM
    The best way to have them is actually, if you create a model these types just get added automatically
  • r

    rene

    06/22/2016, 2:52 PM
    and if the user chooses, they can delete it
  • s

    schickling

    06/22/2016, 3:05 PM
    Sounds very reasonable. It’s on our todo list!
    👍 1
  • r

    rene

    06/22/2016, 4:35 PM
    can we create a channel just for issues with a github webhook integration on the issues, so that we can discuss them as soon as they are posted on github?
  • s

    sorenbs

    06/22/2016, 4:37 PM
    @rene: Absolutely. Are you able to create a channel and invite schickling and me?
  • r

    rene

    06/22/2016, 4:39 PM
    done
  • r

    richardkall

    06/23/2016, 8:56 AM
    Thanks for inviting me to Slack! It would be great to receive an invite code and try it out 🙂
  • s

    schickling

    06/23/2016, 8:58 AM
    Hi @richardkall! Thanks for reaching out. We’ve sent you an invite. Please let us know if you need any help! 🙂
  • r

    richardkall

    06/23/2016, 8:58 AM
    That was quick, thanks!
    🙂 1
  • p

    picsoung

    06/23/2016, 10:13 AM
    hey 🙂 Good presentation last night. Curious to give it a try 🙂 also mentioned it to a friend of mine who is into meteor and apollo atm
  • s

    schickling

    06/23/2016, 11:05 AM
    Hi @picsoung! Thanks man was really good meeting you yesterday. Great talk about Serverless! 💪
    👍 1
  • t

    tychota

    06/25/2016, 1:24 PM
    Hi. I' will talk about graphql in my work and thus I would be thrilled to be able to present saas. Can I get an invitation code ?
  • s

    schickling

    06/25/2016, 1:25 PM
    Hi @tychota. Thanks for getting in touch! I’ll reach out to you in a second 🙂
  • t

    tychota

    06/25/2016, 1:50 PM
    Thank you very much 😉
  • t

    tychota

    06/25/2016, 2:24 PM
    is it me or you can't yet add constraint ?
  • s

    schickling

    06/25/2016, 2:33 PM
    @tychota: this feature is currently WIP
  • t

    tychota

    06/25/2016, 2:34 PM
    oki
  • m

    mcat

    06/28/2016, 9:05 PM
    thanks for the invite to slack @schickling! I'd love to get an invite code to give it a whirl!
  • s

    schickling

    06/29/2016, 4:59 PM
    Hi @mcat! Sorry for the slow response, I’ll reach out to you in a second! 🙂
1...678...637Latest