Skip to content

Refactor createdAt to use DateTime and be adding at insertion in the database

Hannes Heine requested to merge pr1550head into pr1550base

Created by: Tirokk

mattwr18 Authored by mattwr18 Closed


  • not happy with this solution, but it adds a test case, which can be monitored on every test run to see if we ever have a post created without createdAt, also it sets createdAt in the CreatePost resolver if for some reason it didn't get set in the dateTimeMiddleware

  • Co-authored-by: Mike Aono aonomike@gmail.com

🍰 Pullrequest

Issues

Merge request reports