这是indexloc提供的服务,不要输入任何密码
Skip to content

feat(query): variables #9260

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

Merged
merged 11 commits into from
Oct 17, 2024
Merged

feat(query): variables #9260

merged 11 commits into from
Oct 17, 2024

Conversation

NicholasLYang
Copy link
Contributor

Description

Inject variables into a query using a json file.

Testing Instructions

Added tests to tests/query/variables.t

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:40pm

) -> Result<i32, Error> {
let signal = get_signal()?;
let handler = SignalHandler::new(signal);

let variables: Variables = variables_path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: (sorry if I missed a good reason not to do this) might be nice to move this down with where it's used in the hunk below this one

Copy link
Contributor

@dimitropoulos dimitropoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

powerful PR for such a small line count! great!

@NicholasLYang NicholasLYang merged commit ae18f26 into main Oct 17, 2024
40 checks passed
@NicholasLYang NicholasLYang deleted the nicholasyang/query-variables branch October 17, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants