- From: Joshua Bell <notifications@github.com>
- Date: Fri, 15 Oct 2021 10:18:50 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 October 2021 17:19:02 UTC
We don't typically use interfaces this way on the web platform. Since the behavior is not actually identical between store and index, it wouldn't be functional inheritance (or each algorithm would have "if this is a store, do X; if it's an index, do Y", which defeats the purpose). I understand the appeal when coming from a strongly typed language to have something like IIDBQueryable, but that's just not a pattern that's established for the web. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/367#issuecomment-944466807
Received on Friday, 15 October 2021 17:19:02 UTC