It is really cool to have <https://github.com/Juul...
# juul-libraries
b
It is really cool to have https://github.com/JuulLabs/indexeddb - but sometimes it is a bit too restrictive: https://github.com/JuulLabs/indexeddb/issues/90 Maybe it could make sense to expose the internal used IDB js-externals so one can workaround such issues?
t
The restrictions are mostly there to remove many foot guns. In the case of Boolean, according to the spec, they aren't supported. So a Boolean wouldn't work when using the pure JavaScript version of IndexedDB either: https://www.w3.org/TR/IndexedDB/#key-construct
For anyone else who might be following (or stumble on this thread), commented on originally linked GitHub issue the possible workaround — basically: using
1
and
0
rather than
Boolean
.