Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

Request - Ability to specify $messageClass and $attachmentClass

Open rezen opened this issue 12 years ago • 3 comments

It would be awesome to extend the existing Message and Attachment classes. If there was an attribute on the Server for messageClass and on the Message class an attribute for attachmentClass it would be cake to use our own custom MessageClass.

rezen avatar Dec 09 '13 18:12 rezen

I'm actually working on something to help do exactly that. The biggest problem we have right now with regards to things like that is the very weak test suite, mostly do to email testing being difficult. However, I've spent the last week working on a new test suite to make refactoring easier, and then will begin a round of major refactoring and cleanup.

https://github.com/tedivm/Fetch/tree/testing <-- testing branch, if you're curious

tedivm avatar Dec 09 '13 18:12 tedivm

You read my mind! You going to refactor using interfaces?

rezen avatar Dec 09 '13 22:12 rezen

Sorry for the extremely delayed update. We're still focusing on some underlying issues that are a bit in front of this on the queue, but I still do plan on refactoring this a bit and yes that would mean the use of interfaces to make this easier to extend.

tedivm avatar Sep 25 '14 00:09 tedivm