Trần Tiến Đức created JAMES-2988:
------------------------------------

             Summary: JMAP GetMessages should use the smallest projection 
possible
                 Key: JAMES-2988
                 URL: https://issues.apache.org/jira/browse/JAMES-2988
             Project: James Server
          Issue Type: Improvement
            Reporter: Trần Tiến Đức


ADR 12:

[https://github.com/apache/james-project/pull/170]

 

After JAMES-2987

 

GetMessageMethod should select the appropriate factory, retrieve MailboxMessage 
with the right fetch type.

GetMessageResponse should return a generic "MessageProjection"

You should be able to retrieve the model needed for the level of reads 
requested and use the appropriate method introduced in Message(Id)Manager .

You may need to fix some JMAP integration tests (specifying the read properties 
in the incoming JMAP requests)

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to