kysely-org / kysely

A type-safe typescript SQL query builder
https://kysely.dev
MIT License
10.68k stars 271 forks source link

[CamelCasePlugin] Add option to disable transforming of JSON content #281

Closed m4rvr closed 1 year ago

m4rvr commented 1 year ago

When using the CamelCasePlugin, it also transforms the content of JSON fields. It would be nice to have an option that disables that, so the contents remain in snake_case.

Discord thread for reference: https://discord.com/channels/890118421587578920/890118421587578925/1063741659545882625

igalklebanov commented 1 year ago

@m4rvr this has been released.

You should check out the new type-safe JSON traversal features released in https://github.com/kysely-org/kysely/releases/tag/0.26.0.