On Mon, Aug 29, 2016 at 11:23 PM, Neil Jenkins <[email protected]> wrote: > The "headers" property has a datatype of String[ String ] – it is a hash of > the raw headers. The from/to properties are parsed versions of these > headers. What the spec is saying here is that if you set both in a > setMessages, the to/from property (serialised to RFC2822 format) will > overwrite the value in the "headers" hash. >
That doesn't really clarify anything though does it?. Both "from" and "to" are in the headers, but these are different data types on setMessages. Putting the types of all arguments where they are described in the spec could be really useful to readers/implementers. -- Matthew Horsfall (alh) -- You received this message because you are subscribed to the Google Groups "JMAP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jmap-discuss/CAJ0K8bgNepmJkfjbsSQzy%2BpxwvOVHkM87ZQiAJF4c0yFSAji6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
