Skip to content

[Flags] JAMES-4186 Interface for wrapping email query view in JMAP #5523

@Arsnael

Description

@Arsnael

cf linagora/tmail-backend#2172

Propose an interface for wrapping email query view in JMAP.

Have a Predicate: EmailQueryOptimizer wich basically does EmailQueryRequest => Option[SFlux[MessageId]]

Provide a James implementation that bundles EmailQueryView by reusing the predicate => EmailQueryViewOptimizer

EmailQueryMethod would traverse a Set<EmailQueryOptimizer>.

DoD:
EmailQueryView tests are still passing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions