From 7170476e67c4dc519c7543d62113a8fd29df3ff1 Mon Sep 17 00:00:00 2001 From: Haydn Ewers <27211+haydn@users.noreply.github.com> Date: Sun, 5 Jun 2022 19:51:06 +1000 Subject: [PATCH] Add comment --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index 3254881..4af1a18 100644 --- a/index.ts +++ b/index.ts @@ -395,6 +395,7 @@ class RecordSet extends EventTarget { resolve: (_, { id }) => { const deletedRecord = this.records.find((record) => record.id === id); this.records = this.records.filter((record) => record.id !== id); + // TODO: Clean-up any foreign keys that were pointing to this record. this.update(); return deletedRecord; }, -- 2.51.2