Vandivier / ladderly-3

the home site for the ladderly ecosystem
https://ladderly.io
13 stars 9 forks source link

feat: deprecate checklist.version #180

Open Vandivier opened 7 months ago

Vandivier commented 7 months ago

see the code comment like // TODO: eagerly (ie here) remove obsolete/invalid UserChecklistItems

Vandivier commented 7 months ago

change this issue to deprecate Checklist.version the id is already a versioner users are already constrained to have one unique Checklist.id relation, so they can't have multiple versions anyway

and, if they could, a constraint is not enforced over (checklist.id, version)

Vandivier commented 7 months ago

includes deprecating isLatestVersion instead we will just check latest version by checklist created date. the kind is determined by name