Kinto / Kinto/kinto.js

Allow `record.last_modified` to be any string?

Open
#375 3 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
TypeScript
Stars
330
Forks
75
Avg merge
3d 5h
Merged PRs (30d)
4

Description

Currently we're [assuming that the ETag of a record is numerical](https://github.com/Kinto/kinto.js/blob/27a7644f6dd60e975bd8b33dad44fc5b16f34ffb/src/collection.js#L728). Can we drop that restriction? It's stopping me from using kinto.js with ludbud (a remoteStorage client) instead of kinto-client.

Contributor guide

Open the contributing guide

Research direction

Start at src/collection.js around line 728, where the issue identifies the numerical ETag assumption, and trace how record.last_modified is handled. Done means record.last_modified can contain an arbitrary string so kinto.js can work with the mentioned remoteStorage client without the current restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.