You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyperlinks for contract imports are injected for use lines, which previously imported single items only.
In #417, this changed multiple items from the same package to be imported in the same line (or multiple lines), which our hyperlink injection does not detect.
Examples:
use openzeppelin::governance::governor::{DefaultConfig, GovernorComponent};
use openzeppelin::governance::governor::extensions::{
GovernorCountingSimpleComponent, GovernorSettingsComponent,
GovernorTimelockExecutionComponent, GovernorVotesQuorumFractionComponent
};
We should determine a scheme for detecting these imports and where it should link to.
Hyperlinks for contract imports are injected for
use
lines, which previously imported single items only.In #417, this changed multiple items from the same package to be imported in the same line (or multiple lines), which our hyperlink injection does not detect.
Examples:
We should determine a scheme for detecting these imports and where it should link to.
Perhaps for the above examples, we can just link to the prefixed package directories on GitHub: https://github.com/OpenZeppelin/cairo-contracts/tree/main/packages/governance/src/governor
https://github.com/OpenZeppelin/cairo-contracts/tree/main/packages/governance/src/governor/extensions
The text was updated successfully, but these errors were encountered: