Closed ersinakinci closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
kysely | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 12, 2024 5:48pm |
Can't merge untested code. Especially for such a crucial function.
Fixed in master.
Implement a more robust version of
isPlainObject
that checks the prototype chain, inspired by Lodash'sisPlainObject
.Fixes https://github.com/kysely-org/kysely/issues/1036.
Sorry for not writing a test, I'm a first-time contributor and the idea of adding a test for my particular use case--complex objects returned from
PG.types.setTypeMapParser
--was daunting. However, all tests pass on my machine.