Mathieu Leplatre

Results 244 issues of Mathieu Leplatre

**Use case**: I have 57 records to create. **Idea**: I put them in a JSON file, as a list of records. I go to the `Bulk Add` form, click `Browse`,...

enhancement
stale

In the Python client, operations are safe by default. Here, it is safe is false by default. We should align both projects regarding this :/

question
stale

Apparently possible via options in `updateRecord()`

easy-pick
documentation
stale

* `setData()` returns `{data: {attr: 1}, permissions: {...}}` * `getData()` returns `{attr: 1}`

enhancement
stale

Users wondering if this is the correct way: ```js const client = new KintoClient(process.env.VUE_APP_API_URL) const token = localStorage.getItem('token') ?? null if (token) { client.setHeaders({ Authorization: `JWT ${token}` }) } ......

stale

```js const subset = await collection.list({ filters: { "person.age": 23 } }) ``` :)

enhancement
help wanted
stale

Iterating on list in order to perform massive IndexedDB insertions is not efficient. We should chain insertions instead for the browser to schedule the insertions better.

stale

As suggested by Andrew in https://bugzilla.mozilla.org/show_bug.cgi?id=1486980#c36 Example pseudocode: ```js objectStore.createIndex("app_indices", "appIndices", { multiEntry: true }); function fancyPut(idbDataStore, collectionName, collectionIndicesMap, appObj) { const appIndices = collectionIndicies.map([indexName, indexEvalPath]) => { // for...

stale

If `count` is > 0 then we can stop iterating on the store once we've found `count` results. This would optimize use cases with huge collections when only a limited...

stale

Fixes #557 I'm not sure we want this, but since it was trivial to implement here it is. Please close if that's a change we don't want.