Closed
Description
Feature Description
- At the moment
Message
createdAt
is optional
Use Case
- Making it required would avoid having to deal with possibly missing createdAt date when handling list of messages in our backend:
- as there is no guaranty the array of messages is sorted in the order they were generated at all time, when looking for the last message from a specific role, the optional gets in the way
Additional context
Proposal PR: #2185