Mathieu Leplatre

Results 352 comments of Mathieu Leplatre

Now that JSON patch (https://tools.ietf.org/html/rfc6902) support was added by @gabisurita we could leverage it for manipulating permissions

Maybe it would also make sense to scope by «user» (?). The same happens with you sync with two different users.

Excellent question! There used to be one common suite for several adapters. But when we introduced the notion of _transaction_ we dropped the localstorage adapter and kept only one test...

Currently, there is no way to specify auth headers after instantiation. For example, if I do: - fetch server info to obtain capabilities about auth - perform login on identity...

For the bulk insert in `Collection.importChanges`, maybe we should iterate in chunks instead. Modifying the storage adapter interface is less obvious. But maybe we could rely on `loadDump()` there too...

When https://bugzilla.mozilla.org/show_bug.cgi?id=1193394 will land in Firefox, it will be possible to have IndexedDB transactions across promises in Chrome+Firefox.

That's it! It landed! Firefox 60 supports promises within IndexedDB transactions \o/ There is a lot of things that could be simplified, quite a huge amount of work.

Yes, indeed. If you have ideas on how to implement a MongoDB-like query API on top of IndexedDB, please share them with us! I would be interested in guiding you...

I understand! So do I :) Unfortunately I doubt that anyone will have the patience to contribute such a huge feature in a near future...