Skip to content

refactor: use full type paths in Rust bindings to prevent ambiguous imports#2

Open
abinstha wants to merge 1 commit intomasterfrom
fix/multiple-glob-imports-ambiguity
Open

refactor: use full type paths in Rust bindings to prevent ambiguous imports#2
abinstha wants to merge 1 commit intomasterfrom
fix/multiple-glob-imports-ambiguity

Conversation

@abinstha
Copy link
Owner

  • Replaced shorthand type usages with full paths in Rust bindings to prevent conflicts from multiple glob (*) imports.
  • Maintained a HashMap for mapping package addresses to aliases.
  • Used the HashMap to retrieve type aliases for package addresses and reconstruct full type paths.

…mports

- Replaced shorthand type usages with full paths in Rust bindings to prevent conflicts from multiple glob (*) imports.
- Maintained a HashMap for mapping package addresses to aliases.
- Used the HashMap to retrieve type aliases for package addresses and reconstruct full type paths.
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