You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Trần Tiến Đức (Jira)" <se...@james.apache.org> on 2019/11/21 07:44:00 UTC

[jira] [Created] (JAMES-2988) JMAP GetMessages should use the smallest projection possible

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org