Happy to announce rescript-edgedb
- use EdgeDB in ReScript, with full type safety!
This is what it looks like:
Read more in the repository: GitHub - zth/rescript-edgedb: Use EdgeDB fully type safe in ReScript. Embed EdgeQL right in your ReScript source code.
Preventing overfetching is built in
The CLI for rescript-edgedb
also ships with a command to detect unused selections in any of your EdgeQL queries in your app (powered by reanalyze
by @cristianoc ). It essentially eliminates the chance of overfetching making it into production, and makes it simple to keep a clean code base where nothing’s pulled out of the database that’s not also actually used.
It looks like this:
Presenting ReScript at the EdgeDB developer days
ReScript will hopefully get some nice press as well, as I’m going to be presenting rescript-edgedb
on EdgeDB’s launch day for their version 4.0: EdgeDB Developer Day | EdgeDB
Wrapping up
Anyway, looking forward to your feedback! I hope this is going to enable more exploration of using ReScript on the backend. I’m personally very bullish on EdgeDB for many reasons, and will look to use it extensively going forward.