Gabriel Nordeborn
@___zth___
I like building stuff. I mainly tweet about ReScript, Relay and GraphQL. @rescriptlang contributor. @arizon_ab.
📢 A single command that automatically removes all unused fields from your GraphQL queries and fragments in your RescriptRelay project! Prevent overfetching with no manual intervention. So excited this is finally stable enough to ship in rescript-relay 0.21.1! A short thread:
Yup, this migration tool for ReScript is going to be pretty cool! Check this out: 1. v12 deprecates `Js.Array2.reduce` and refers to the new `Array.reduce` 2. The new `Array.reduce` however flips the arguments (because of type inference) 3. Migration tool handles it gracefully!



Some pretty crazy auto migration utils coming to @rescriptlang v12 if all works out. Primarily to ease migrating to the new stdlib, but intended to also build a foundation for automatic migrations. Usable by library authors, or even yourself locally in your own project.

Ok the ReScript sales pitch is pretty dang compelling... rescript-lang.org/docs/manual/v1…
We just published the recording of @_binary_search's "Intro to syntax development" talk. Maxim gives an overview of the syntax parser, talks about basic concepts and demonstrates a concrete syntax change in a live coding session! Link down below ⬇️
Help us test our new build system which comes enabled by default with the first ReScript v12 beta. npm create rescript-app@next forum.rescript-lang.org/t/ann-rescript…
Past weekend, I learned about Sury. It is so so amazing having serde macro on the ReScript side, so it motivated me to patch up Rust's serde_derive to have sweet effortless serde on both ends.
I created a repo where I will put all of my partial, incomplete, but probably useful bindings, that aren't deserving of their own dedicated bindings package (or I just haven't had time to set it up): github.com/zth/rescript-b… Will add much more in the coming days, but it's a start
A lot of work is going into improving error messages in ReScript v12. This makes a huge difference for developers, as well as AI. It's also quite fun to work on. Good, honest work!
New JS runtime embedded in Postgres (Quickjs). Pretty cool! I've always been intrigued by JS-in-Postgres. news.ycombinator.com/item?id=443810…
Falling down the next rabbit hole... Highly explorative/experimental. We'll see how deep this hole goes.

Next up for pgtyped-rescript - inferring the input types for json_populate_recordset and friends. This means you can easily do single/bulk (up)insertions to tables, fully typed, and without having to juggle a gazillion input variables for large tables. Still plain Postgres.
