Ben Boeckel

Results 524 comments of Ben Boeckel
trafficstars

Could a Rust macro be written which does the equivalent of the `NewRequest` method described [here](https://blog.machinebox.io/a-graphql-client-library-for-go-5bffd0455878)?

One thing that would be useful for extracting from schema endpoints would be structures for use in queries. For building actual queries, macros would be best.

[quicktype](https://github.com/quicktype/quicktype) now has [Rust support](https://github.com/quicktype/quicktype/pull/512).

There is now [graphql-client](https://github.com/tomhoule/graphql-client) which is working really well for me.

> because it's not like a traditional REST API it's not versioned for stability. It's not explicitly versioned, but it does support deprecation of fields. This is way better than...

Poking the code, it hits `tz/tz.py`'s `_parse_rfc` exception thrown when `comptype` is not set.

> Why wouldn't a deprecated item be expected to be removed in the next breaking change? If it has sufficient history or is particularly gnarly to port from, it may...

Discussion on Discourse seemed to prefer (though there wasn't much discussion) wording in terms of the author of the attribute. The generated diagnostic messages can be worded in a way...

Can't there be a diagnostic for "planned removal within a semver compatibility bucket"?

(FD: CMake developer) FWIW, I don't find the "but it makes `-lfoo` work" argument convincing at all. I'd much prefer seeing full paths instead of decay into `-L` and `-l`...