Hey all, curious how other people handle the snake...
# javascript
s
Hey all, curious how other people handle the snake_case to camelCase transformations when reading from and writing to Supabase?
s
I create mapper functions to take a object and transform it. https://github.com/silentworks/waiting-list/blob/main/src/lib/data/mappers/users.js#L3-L10
s
Thanks for sharing
I'm looking for something more generic. One pattern I found is: https://github.com/supabase/supabase/discussions/7136