nylas-nodejs icon indicating copy to clipboard operation
nylas-nodejs copied to clipboard

Breaking change?

Open mmollick opened this issue 1 year ago • 3 comments

It seems BaseMessage.createdAt is no longer returned by the V3 API. This breaking change seems to have been introduced on July 10th.

mmollick avatar Jul 15 '24 20:07 mmollick

cc: @mrashed-dev

mmollick avatar Jul 15 '24 20:07 mmollick

This is also the case for latestMessageReceivedDate and latestMessageSentDate on Thread which are typed as required but I don't see them being returned. What are the expected types @SubashPradhan @mrashed-dev?

yulianovdey avatar Dec 11 '24 21:12 yulianovdey

Hey @yulianovdey @mmollick thank you for raising this issue, we will work to get this fixed

  • The created_at field was removed here
  • The latestMessageReceivedDate & latestMessageSentDate should be optional field, we do return them in our API but they are not mandatory fields

cc @AaronDDM

SubashPradhan avatar Dec 13 '24 10:12 SubashPradhan