Stephen Haberman
Stephen Haberman
Also see https://www.reddit.com/r/typescript/comments/t49eyv/active_fork_of_superstruct/
One thing we've missed with superstruct is an explicit "serialization" step, i.e. to turn a `Date` into ISO string, with the disclaimer that `JSON.stringify` will invoke `toJSON` methods (which means...
Fwiw @zgavin I've looked through a lot of superstruct-esque libraries, i.e. not exhaustively but maybe 80% of the entries in this list: https://github.com/moltar/typescript-runtime-type-benchmarks And so far ~basically all of them...
Yeah, no silver bullets... Two thoughts I guess: 1. In a prior system, each of our `PUT /author` / etc. endpoints was auto-wrapped by our infra in a "open EM"...
Also check `CustomReference`s
:tada: This issue has been resolved in version 1.33.5 :tada: The release is available on: - `v1.33.5` - [GitHub release](https://github.com/stephenh/joist-ts/releases/tag/v1.33.5) Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:
Maybe use this: https://www.npmjs.com/package/postgres Or maybe "pg" itself can already do this? See the "pipeline" note here in their readme: ``` It's also possible to pipeline the requests in a...
@chr1sjf0x / @zgavin I formatted the ^ SQL to be more readable, but basically I feel pretty confident that what is happening is: * We put our transaction into isolation...
Or should we do something like Joist-java: https://github.com/stephenh/joist-java/blob/master/features/src/test/java/features/domain/queries/ChildQueryTest.java ```typescript const c = new ChildAlias("c"); const p = new ParentAlias("p"); const q = Select.from(c); q.join(p.on(c.parent)); q.where(p.name.eq("bob")); q.orderBy(p.name.asc(), c.name.asc()); const childrenOfBob =...
A wish-list would be for the DSL to (type safely) guess common `on`s i.e.: ```typescript const q = Select.from(c); q.join(p); ``` And it would just know that `q.join(p)` meant `JOIN...