Open captbaritone opened 4 months ago
Name | Link |
---|---|
Latest commit | 5c7c0ae0942c9fd288fc82a8e51e65b94b3fd0c2 |
Latest deploy log | https://app.netlify.com/sites/grats/deploys/66c57abbb652600008d4ab72 |
This feature has made me realize I want Grats to be more about trying to derive GraphQL matching the semantics of idiomatic TypeScript code where possible.
So, our goal here should be to match the semantics of TypeScript. One way to view a /** @gqlField */
annotation is as making that field more specific. In typing parlance, an annotated field is a subtype of an unannotated field. What would that mean:
@deprecated
? How do those fit in those framings?
Would now extract:
This change also allows you to define GraphQL interfaces using TypeScript types.
TODO