Skip to content

Update dependency registry with three new script fields#1814

Open
ryley-o wants to merge 7 commits intomainfrom
ryley/pro-938-add-template-hints-to-dependencies-in-dependency-registry
Open

Update dependency registry with three new script fields#1814
ryley-o wants to merge 7 commits intomainfrom
ryley/pro-938-add-template-hints-to-dependencies-in-dependency-registry

Conversation

@ryley-o
Copy link
Contributor

@ryley-o ryley-o commented Apr 24, 2025

Description of the change

Update dependency registry with three new script fields to fully prescribe generator behavior.

The three new fields enable the dependency registry to sufficiently prescribe how each project should be rendered in the generator. This will lead to the removal of any dependency-name-based logic from the on-chain generator in a subsequent PR.

@ryley-o ryley-o marked this pull request as ready for review May 13, 2025 23:22
@ryley-o ryley-o requested a review from a team as a code owner May 13, 2025 23:22
@ryley-o ryley-o requested a review from yoshiwarab May 13, 2025 23:22
CanvasTag canvasTag;
// whether the dependency should be loaded as a module
bool loadAsModule;
// project script special type for the dependency
Copy link
Contributor

@yoshiwarab yoshiwarab May 31, 2025

Choose a reason for hiding this comment

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

Nit: I feel like this comment could be a little clearer that it's the type attribute on the project script tag because type just feels pretty generic. Might also make sense to call it projectScriptTagSpecialType for clarity but don't feel too strongly about that

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

Comments