graphql-rust / graphql-client

Typed, correct GraphQL requests and responses in Rust
Apache License 2.0
1.12k stars 152 forks source link

Improve error message when query name is missing #460

Closed Enselic closed 5 months ago

Enselic commented 7 months ago

Thanks for this project!

I'm not used to working with GraphQL, so the current short error message confused me. I did not understand what kind of name was missing at first. Eventually I figured it out.

Make the error message more helpful by hinting what the likely (only?) problem is.

TieWay59 commented 5 months ago

LGTM