Graeme Coupar

Results 104 issues of Graeme Coupar

TODO: A message

There's a lot of places where we return Results in cynic and then convert to TokenStream a level up. This is fine, but may limit our ability to error to...

✨ enhancement

#391 replaced the `Ident` type with some more useful types, integrated with the `schema` module. This issue is to go and update the rest of cynic-codegen to use these new...

🧹 chore

You can't currently name cynic queries - they're either named some default name or they're un-named. Would be good to provide a facility for this (even if it just defaults...

✨ enhancement

Some stuff I'm reading suggests that it can be combined with with `$crate` to avoid `::cynic::` everywhere? Not sure, figure it out.

✨ enhancement

This is a wild, not very thought through idea, but wondering how much something like https://docs.rs/const-str/latest/const_str & https://twitter.com/bascule/status/1483565919112773638 could be used to make queries const/do validation on constants at compile...

✨ enhancement

Some schemas (looking at you GitHub) are massive, and writing code using those schemas is frustrating as the compile time gets lengthy. Might be worth investigating tools to simplify such...

✨ enhancement

Almost every cynic macro needs part of the schema. Currently this means parsing the entire schema in every macro. I need to benchmark this to see if it's actually a...

✨ enhancement