Skip to content
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

Request: Possibility to define functions with template variables #286

Open
izziaraffaele opened this issue Jun 5, 2024 · 1 comment
Open

Comments

@izziaraffaele
Copy link

I tried using {=functions} template variable but I couldn't figure out a way to pass the functions definitions as input. I tried with TextFields node and also with the Javascript processor node outputting a JSON.stringify payload

@ianarawjo
Copy link
Owner

Using braces in textfields can get tricky because they must be escaped. You should use a Tabular Data node if you have a lot of JSON you wish to use as input. We have a longstanding issue around being able to toggle off templates in textfields nodes and also to change to handlebars double-braces in Settings. No one has yet opened a PR for these issues, though.

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

No branches or pull requests

2 participants