The generated code could generate boilerplate interfaces instead of computing types with RuntimeShape<S>, resulting in more helpful (well documented) hints from the compiler/IDE toolchain. Developer experience would be just as "nice", except there would now be a new file format.
Shapes enable the generic data structures and APIs of Punchcard, but their type signatures can be excessive spaghetti.
E.g.
Perhaps we should look into generating Shapes from another representation, e.g. Smithy (https://github.com/awslabs/smithy) or GraphQL (https://graphql.org/, https://github.com/punchcard/punchcard/issues/86)?
The generated code could generate boilerplate interfaces instead of computing types with
RuntimeShape<S>
, resulting in more helpful (well documented) hints from the compiler/IDE toolchain. Developer experience would be just as "nice", except there would now be a new file format.