Stephen Haberman
Stephen Haberman
> With the ts-poet style imports, they only really work when you use a tsconfig path/node-submodule import path ts-poet is supposed to handle relative-path mapping: https://github.com/stephenh/ts-poet/blob/main/src/Import.ts#L367 https://github.com/stephenh/ts-poet/blob/bda410a132645d243090bdd01cdb6559e4964ab2/src/Import.tests.ts#L92 https://github.com/stephenh/ts-poet/blob/bda410a132645d243090bdd01cdb6559e4964ab2/src/Import.ts#L303 It might...
We have a user (of just joist-orm/codegen, not graphql-codegen) using this: ``` { "entitiesDirectory": "./src/orm/entities" } ``` And it's kinda annoying b/c I think we need to know both: *...
Maybe something like: ``` // Only count the number of popular books readonly numberOfBooks = hasReactiveCounter( "numberOfBooks", { books: "isPopular" }, (b) => b.isPopular ); ``` And we would had...
https://github.com/magnusvk/counter_culture
There are probably a few variations on this: 1. Counting all children, `hasReactiveCounter("books")` 2. Counting children with a specific primitive value: `hasReactiveCounter("books", { status: Published })` 3. Counting children with...
This is on main: ``` $ yarn env-cmd tsx ./src/benchmarks/loading-authors.ts cpu: Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz runtime: node v23.1.0 (x64-linux) benchmark time (avg) (min … max) p75 p99 p999...
Ah nice! Are you thinking that if the user adds an explicit `config.setDefault("fieldWithThePgOnlyDefault", ...)`, that would silence the notification?
Yep, that makes sense. Only question would be if there is a PG default that, besides the joist codegen not being able to translate, is just hard to express in...
Just acking that this is on my todo list to review; love the idea, just busier than usual with projects, so am behind on ~2-3 of your PRs :grimacing: ....
No worries @brudil , same over here! :sweat_smile: