-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub trait
moved, deleted, or renamed
#73
Comments
Hi, I'm interested in taking on this issue. As per this point in CONTRIBUTING.md:
What's the most closely-related lint that I could reference for this? Also, is there any documentation on the query syntax? |
Great choice! There are several very related lints:
There are some resources for using the query language, but I'd recommend using them as a reference rather than as a "getting started" guide: look up what you need when you need it, rather than reading them end-to-end first.
As a first step, I'd recommend trying to write just the new query; we can add the error message text, test case, etc. afterward. I'd recommend copy-pasting the query text out of those files and into files where you can enable GraphQL syntax highlighting: Look for similarities between the queries. You'll notice that they are nearly identical, with minute differences. They all say the following:
This is very similar to what we'll need for traits as well: traits are items too, just like enums and structs and functions. The queryable schema is here if you'd like to check which properties, edges, or types exist: https://github.com/obi1kenobi/cargo-semver-check/blob/main/src/rustdoc_schema.graphql Ping me with any questions! Happy to hop on a video call if that would make it easier to get started, and I'm also in the rust-lang zulip if you'd prefer more interactive text chat. I'm also working with a few friends on a WASM-powered web editor for Trustfall queries with all the modern conveniences (autocomplete, syntax highlighting, etc.), stay tuned! 🤞 |
No description provided.
The text was updated successfully, but these errors were encountered: