Yaak Logo
Yaak
Feedback/Support dashes in variable names

Support dashes in variable names

E Panz·a year ago
ReleasedBug

Using variables in headers, triggers the request passing `${[ the-variable-name ]}` as header value.

Note that renaming the variable name from the-variable-name to the_variable_name it started to work.

According to the documentation, there is no mention to naming convention or restrictions to environment-variables:

https://feedback.yaak.app/en/help/articles/3284139-environments-and-variables

Is this a bug, or a undocumented feature? :)
I would rather not limit the possibilities of naming the variables, and allow dashes in them too.

Linux2024.13.0

Comments (4)

Sign in to leave a comment.

Gregory Schier

Thanks for posting this. I had originally supported dashes in variable names but I think this got lost after switching to a custom parser (from Regex). I’ve added back the functionality so it will be included in the next release.

https://github.com/mountain-loop/yaak/commit/88ff7f4300dc99f131ccbad0dbf569c19a531726

E PanzOP

cool! thanks!

Gregory Schier

https://yaak.app/blog/2025.1-beta.1

Gregory Schier

https://yaak.app/blog/2025.1.1

Type to search feedback...