Nick Lucas
Nick Lucas
Yep, definitely try and use a factory. I'm acutely aware of `HOC` syndrome reaching tRPC though: `withMMKALThing(withLogging(withAuth(t.procedure)))` is just not a beautiful thing, so if you have any questions or...
> might not be possible for an external library, it doesn't seem like `createRouterFactory` is exposed. Is there an example of something external like the `withLogging` and `withAuth` HOCs above...
Sorry, I did misunderstand slightly. So that piece is one of my first contributions to tRPC and I don't think you need the exact types I constructed there, they're actually...
Extensibility is high up on my mind as the last experiment I tried didn't work out very well, so I'm likely to have a look at this as a broad...
> possibly by attaching a unique symbol to the instance Just had a poke at this solution and it doesn't seem viable. We do stuff like `typeof unsetMarket` in the...
works fine on my computer
One immediate issue I hit was that enums are wrapped in DO..END blocks and they're not supported https://github.com/electric-sql/electric/issues/651
Also wrangling this here. Minimal reproduction for you @okovpashko : https://codesandbox.io/s/black-sun-gktfb0?file=/src/index.ts ```ts import { Entity, Column, Repository, DataSource } from "typeorm"; class BaseEntity { @Column() id: number; } @Entity() class...
Found a workaround, it's a weird one but if you just declare and cast the query before passing it to the repository method, typescript doesn't complain and you get proper...
So far this looks a lot more complex to use than ```ts const query = useQuery() useEffect(() => { query.refetch() }, [lastUpdatedAt]) ``` I don't personally think we should be...