Skip to content

Conversation

@SpliiT
Copy link
Member

@SpliiT SpliiT commented Nov 27, 2025

No description provided.

@SpliiT SpliiT requested a review from BotellaA November 27, 2025 16:20
return loadedExtensions.value.get(path)
}

async function loadExtension(path, codeTransformer = null) {
Copy link
Member

Choose a reason for hiding this comment

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

Est-ce que le transformer doit être donné par l'extension ou fourni par OGW?

}

if (typeof extensionModule.install === 'function') {
await extensionModule.install(extensionAPI.value, path)
Copy link
Member

Choose a reason for hiding this comment

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

Tu as besoin de path lors du install ? Ça 'r me semble pas approprié

}

if (typeof extensionModule.install === 'function') {
await extensionModule.install(extensionAPI.value, extensionId)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
await extensionModule.install(extensionAPI.value, extensionId)
await extensionModule.install(extensionAPI.value)

as-t-on besoin de l'id ici? au final, on va dans l'extension, elle connait son id. Pas besoin de devoir la passer en paramètre à install non ?

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.

4 participants