Refactor createdAt to use DateTime and be adding at insertion in the database
Created by: Tirokk
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
- fixes #1494 (closed)