Barrabasz
DTDrizzle Team
•Created by Barrabasz on 12/28/2023 in #help
How do I type the `with` object part of a query builder if I extract it to it's own object?
It seems typing it with the type you provided works but it does not help the type inference. I think the issue is that I am specifying specific columns in a nested relation. Any other ideas?
6 replies
DTDrizzle Team
•Created by Barrabasz on 12/28/2023 in #help
How do I type the `with` object part of a query builder if I extract it to it's own object?
Thanks! @Angelelz
Maybe as a suggestion for the future, there could be kind of a utility type that would extract all of those generics, kind of how FieldValues and Path works in react-hook-form.
6 replies
DTDrizzle Team
•Created by Barrabasz on 12/27/2023 in #help
Can't set nullable field back to null in drizzle-studio
Also, when going into the queries tab and trying to run a query manually, it just throws a
Something went wrong. Please check your query.
There are no logs in the terminal and browser logs show this:
2 replies