Skip to content

Pass data to plugins #2270

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

Open
ludusrusso opened this issue May 6, 2023 · 1 comment
Open

Pass data to plugins #2270

ludusrusso opened this issue May 6, 2023 · 1 comment
Labels
enhancement New feature or request ⚙️ WASM WASM plugins

Comments

@ludusrusso
Copy link
Contributor

ludusrusso commented May 6, 2023

What do you want to change?

Hi @kyleconroy, I was experimenting with wasm plugins and was wondering that it would be useful to pass informations using comments like to one used to generated the query.

It does not seems to me this is possible at the moment, do you have idea on how to make this possible?

@ludusrusso ludusrusso added enhancement New feature or request triage New issues that hasn't been reviewed labels May 6, 2023
@kyleconroy kyleconroy added the ⚙️ WASM WASM plugins label Jun 6, 2023
@kyleconroy
Copy link
Collaborator

@ludusrusso This is currently possible, but you'd need to manually parse the comment attached to the query. I agree that we should have a structured way to pass query-specific metadata to plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ⚙️ WASM WASM plugins
Projects
None yet
Development

No branches or pull requests

2 participants