Brendonovich / prisma-client-rust

Type-safe database access for Rust
https://prisma.brendonovich.dev
Apache License 2.0
1.84k stars 108 forks source link

change include macro to not generate snake case with rspc/specta #207

Closed jdrst closed 1 year ago

jdrst commented 1 year ago

some field names in the generated typescript bindings from a rspc route that uses the include!-macro are always snake cased, while produced data by the query isn't necessarily. this changes that casing.

Brendonovich commented 1 year ago

Had to make some changes to rebase onto 0.6.4, but thanks for the help!