-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(query): map file to package #9174
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Skipped Deployments
|
} | ||
|
||
#[derive(Union)] | ||
enum PackageMapping { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Union types in GraphQL are pretty annoying. Maybe I should change this to just return all the packages? I'm a little worried that could be too much data.
ee2eb7e
to
ba8df11
Compare
ba8df11
to
78a3c3b
Compare
78a3c3b
to
30a2d12
Compare
Ok(Some(PackageMapping::All(_))) => Ok(self | ||
.run | ||
.pkg_dep_graph() | ||
.packages() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be sorted?
b6a9239
to
d99e930
Compare
d99e930
to
4261b4a
Compare
4261b4a
to
5bcc3e4
Compare
Description
Adding some queries so you can go from a file to the package it's from, or even the packages that it affects.
Testing Instructions