TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
https://tbd54566975.github.io/ftl/
Apache License 2.0
20 stars 7 forks source link

Investigate a sqlc Java backend #2618

Open stuartwdouglas opened 1 week ago

stuartwdouglas commented 1 week ago

We should investigate a sqlc backend for Java, there is a simple Kotlin one here: https://github.com/sqlc-dev/sqlc-gen-kotlin

alecthomas commented 1 week ago

That looks like a good start, but I think we'll need to write FTL-specific code generators, as we'll need to generate queries that are "verbs" rather than normal functions.

stuartwdouglas commented 1 week ago

We could make the code generation add additional metadata to the generated code, that could then be picked up by schema generation.