News for hackers. Stuff that matters.
Re:JMAP: Like IMAP but Not Really by andridk on Friday January 25, 2019 @03:53AM (#18996531)
I was really hoping for a GraphQL API standard for mail before reading this. But this sounds good too.
Re:JMAP: Like IMAP but Not Really by chrismorgan on Monday January 28, 2019 @06:33PM (#19022185)
Understand that JMAP is an object synchronisation protocol. It’s most interested in the problems that are out of scope for GraphQL.

You could have a variant of JMAP with GraphQL syntax and semantics, but there would be a fair bit of mismatch, for their purposes and focuses are quite different: JMAP is concerned with object identity and synchronisation, for what you might call thick clients (and JMAP Mail needs to be broadly IMAP compatible), while GraphQL is UI-focused, for what might reasonably be considered to be thin clients (not that they are logicless, but that they are very much focused on offloading burden to the server). I see no compelling case for a JMAP-like GraphQL thing.

It could still be an interesting task to develop a object synchronisation protocol like the JMAP core on top of GraphQL.

Re:JMAP: Like IMAP but Not Really by thomasfoster96 on Friday January 25, 2019 @04:06AM (#18996605)
Reading through the JMAP website [0], I'm actually wondering whether whoever's behind JMAP has looked at GraphQL. There seem to be a lot of similarities (especially the "why not REST" section).

[0] https://jmap.io/index.html

Re:JMAP: Like IMAP but Not Really by detaro on Friday January 25, 2019 @05:25AM (#18996908)
Work on JMAP likely started before GraphQL was publicly released.
Re:JMAP: Like IMAP but Not Really by ForHackernews on Friday January 25, 2019 @04:11AM (#18996623)
I think Fastmail are the primary ones behind JMAP: https://fastmail.blog/2014/12/23/jmap-a-better-way-to-email/
Re:JMAP: Like IMAP but Not Really by jasonmunro on Friday January 25, 2019 @04:50AM (#18996785)
Yep. Also I think they are using it for a subset of customers. While JMAP support in Cypht is still new, so far it's working just like IMAP, but my testing is limited since I just wrote the integration :)
Re:JMAP: Like IMAP but Not Really by Mailtemi on Friday January 25, 2019 @02:28PM (#19001520)
Actually, Outlook GraphQL reusing the idea of batch JMAP calls. https://docs.microsoft.com/en-us/previous-versions/office/of...