Re: [w3c/IndexedDB] Track ES BigInt work (#230)

Serialization of BigInts is proposed [in this HTML PR](https://github.com/whatwg/html/pull/3480). This would mean you can use BigInts and BigInt wrappers as IndexedDB values. Any concerns with this proposal?

For keys, I like @inexorabletash 's suggestions in https://github.com/tc39/proposal-bigint/issues/123 . To make it into a concrete straw-person--how does this plan sound?
- Permit BigInt primitive keys in IndexedDB
- Don't associate BigInt and Number keys with each other, even if they are mathematically equal, and always preserve the original type
- Make BigInts all come after any Number in sort order

Is there any particular need to make `autoIncrement` tie in with BigInts? Seems like the current semantics are pretty closely tied to Number, so this could be rather complex to work out. Is anyone running into issues with overflow of these counters?

-- 
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/230#issuecomment-366558676

Received on Sunday, 18 February 2018 23:36:35 UTC