This is really elegant idea: provide a tool for rewriting graphQL queries so you can change your schema without breaking clients!
https://github.com/ef-eng/graphql-query-rewriter
(Reminds me of programming languages that provide automatic upgrade tools, such as `go fix`.)
miniblog.
Related Posts
I've been rewriting how difftastic calculates hunks, and it's beginning to look good!
Alignment is a crazy hard problem. Added/removed items have no corresponding item on the other side. You can't use even previous line text (see left line 219) as previous lines may not match.
A cute feature in Pharo 9: dynamic rewriting of deprecated methods! The code and runtime are so closely integrated that you can use test execution to automatically update call sites.
I'm rewriting a Rust function transform function from `&mut Foo` to `Foo -> Foo`. It might be a little slower, but ownership makes it harder to miss parts of the Foo type when I work with values.
