Typesafe database querying via code generation
The EdgeDB team has released v1.0 versions of their client libraries for JavaScript and Python, which include code generation features. This enables developers to write strongly typed queries in a DRY manner without sacrificing performance. The new mechanism allows users to generate typesafe code directly from their EdgeQL queries. The official client libraries for JavaScript/TypeScript, Python, and Dart have been updated to support this workflow, with the .NET client coming soon. Code generation is supported for Node.js, Deno, Python, and Dart, each with its own specific workflow. Additionally, the EdgeDB team has provided tools to make it easier to build third-party code generators using their JavaScript/TypeScript client.
Company
EdgeDB
Date published
Oct. 21, 2022
Author(s)
Colin McDonnell
Word count
864
Language
English
Hacker News points
1