vektah
Joined 8 years ago
Karma
80
Submissions
8
Member since
Feb 11
github.com/vektah
View on Hacker NewsJoined 8 years ago
I'm thinking about adding something that generates a model if it doesn't exist, but after its generated it becomes the users problem to keep it in sync.
> recipe for mistakes and drift between the schemas and those types.
The type system enforces there is no drift, it won't compile if its not perfect.
The details get hard though, how do you represent unions vs enums? even knowing what implements an interface? default arguments? directives?
I'm hoping to change that though :)