Skip to content
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

Add importize method to Resolve #1784

Merged
merged 3 commits into from
Sep 12, 2024

Commits on Sep 12, 2024

  1. Add importize method to Resolve

    A new method `importize` is added to the Resolve. This is to allow to
    mutate the Resolve to state where it would resemble what a consuming
    component would expect to see during composition.
    
    Signed-off-by: karthik2804 <[email protected]>
    karthik2804 authored and alexcrichton committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    231f1f0 View commit details
    Browse the repository at this point in the history
  2. Updates to importize

    * Update the CLI to have `--importize` and `--importize-world`
    * Rewrite the test to use these flags and have multiple tests in one
      file, each with a smaller world.
    * Update the implementation to preserve allow-listed imports instead of
      removing all imports and recreating what needs to be preserved.
    alexcrichton committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    43121d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01cc0b0 View commit details
    Browse the repository at this point in the history