You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Get field names in an object]: https://github.com/apollographql/apollo-rs#get-field-names-in-an-object
174
174
[Get variables used in a query]: https://github.com/apollographql/apollo-rs#get-variables-used-in-a-query
175
-
[using apollo-rs with miette to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/miette.rs
176
-
[using apollo-rs with annotate_snippets to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/annotate_snippet.rs
177
-
[checking for unused variables]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/unused_vars.rs
[using apollo-rs with miette to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/miette.rs
176
+
[using apollo-rs with annotate_snippets to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/annotate_snippet.rs
177
+
[checking for unused variables]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/unused_vars.rs
/// Using something like [miette] along with apollo-parser lets you have
33
+
/// diagnostics that look like this:
34
+
///
35
+
/// <img src="https://github.com/apollographql/apollo-rs/crates/apollo-parser/screenshots/apollo_parser_error.png" alt="A screenshot of an error example produced by using apollo-parser and miette. The ascii display shows a graphql code snippet with line numbers to the left. Under the code sample there is a line pointing to where a value is missing in graphql code">
//! [Get field names in an object]: https://github.com/apollographql/apollo-rs#get-field-names-in-an-object
167
167
//! [Get variables used in a query]: https://github.com/apollographql/apollo-rs#get-variables-used-in-a-query
168
-
//! [using apollo-rs with miette to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/miette.rs
169
-
//! [using apollo-rs with annotate_snippets to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/annotate_snippet.rs
170
-
//! [checking for unused variables]: https://github.com/apollographql/apollo-rs/blob/main/crates/apollo-parser/examples/unused_vars.rs
168
+
//! [using apollo-rs with miette to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/miette.rs
169
+
//! [using apollo-rs with annotate_snippets to display error diagnostics]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/annotate_snippet.rs
170
+
//! [checking for unused variables]: https://github.com/apollographql/apollo-rs/blob/a7f616454a53dcb8496725ceac6c63eacddefb2c/crates/apollo-parser/examples/unused_vars.rs
0 commit comments