cynic icon indicating copy to clipboard operation
cynic copied to clipboard

A bring your own types GraphQL client library for Rust

Results 128 cynic issues
Sort by recently updated
recently updated
newest added

I'm currently refactoring the internals of cynic pretty heavily to move logic out of the `use_schema` output and into `QueryFragment`. This issue is to track the progress of that work:...

✨ enhancement

How to omit fields in `InputObject`s? Example: I would like to send this mutation: ```graphql mutation M { updateClient(input: { filter: { id: {eq: "01EG14HC157VEJ8DWMSKBEDGY5"}, }, set: {name: "Client B"}...

✨ enhancement

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