Graeme Coupar

Results 103 issues of Graeme Coupar

Would be good to support this, probably integrating with rusts deprecated definitions somehow...

✨ enhancement

It could be really nice to add a `cynic init` command to cynic-cli, that handles some of the setup from the quickstart: - Configuring the schema in `Cargo.toml` (if I...

✨ enhancement
💻 cli

The reference docs are very light on examples. Would be good to fix that sometime.

🧹 chore

A bunch of tests are calling out to rustfmt - should probably look into using prettyplease instead as I think it'll be lighter. May need some investigation though - not...

🧹 chore

querygen itself has support for passing in the schema name, but the UI doesn't currently. Probably want to ask the user if they have multiple schemas - and if so...

✨ enhancement

#711 highlighted that some GraphQL servers don't stick precisely to the spec, particularly around integers. It's currently possible to work around this with newtypes, but I would like users to...

✨ enhancement
breaking

Even with pre-registration, generating and compiling large schemas isn't as fast as it could be. Some of that slow down is generating & subsequently compiling the `use_schema` output. Looking at...

✨ enhancement
breaking

Currently if an error happens in a derive macro, no impl will be output. This means you end up with a ton of errors in all the _other_ macros because...

✨ enhancement

The [proc-macro-error](https://docs.rs/proc-macro-error/1.0.4/proc_macro_error/index.html) crate looks like it provides some quite nice functionality for errors (in particular the dummy implementation stuff looks very useful). Should look into using this sometime.

✨ enhancement

The various derives (and probably the generator) should support passing directives in. We should probably also offer first class support for the `skip` & `include` directives.