Re:Show HN: Encore – Type-safe back end framework that gener...
by embedding-shape on Friday November 14, 2025 @12:09PM
(#45928928)
Ah, I think what you're asking for is "declarative" configuration, rather than the typical imperative code for setting up infrastructure. I think that's what you're out after, but with strong types?
``` interface BaseEC2 extends AWSEC2 { type: '...' }
// export means build export interface MyInstance extends BaseEC2 { // some customisations }
// fleet export interface EC2Fleet extends EC2Fleet { instances: MyInstance } ```
etc...
wacky idea but I kind of like it