I've seen a behavior that I do not know if it's a bug or not... It is about how the flows are exported in YAML format.
Let's suppose I have a flow that has an expression that includes tab (\t) characters. When it is exported, the YAML fragment would be something like this:
(Note the TAB between GetAt( and Task.elements, and also before Task.random_int, inside the non-quoted string)
Although it does not make Archy fail, some YAML processing tools may do. For example, the Python's package ruamel.yaml fails when it tries to load that because of the tab.
Searching on the internet, I've seen several places saying that using tabs outside unquoted strings is discouraged. Though, I am unsure if that's a rule or just a recommendation.
It would be nice if when the flows were exported, the strings containing tabs were quoted, like:
By the way, Tim once told me that the library that Archy uses for YAML handling is js-yaml - npm. I've made a test on my computer using that library. And although it can parse the unquoted strings with tabs without errors, when dumping it does indeed quote them. For example, this:
Im planning an Archy release later this week or early next week with the change. No guarantees on this as it has to go through QA testing first but I will let you know when the fix is available!
Thank you, Jon. It looks like when exporting the flow using archy, it quotes those expressions successfully. HOWEVER, when exporting the YAML using the Architect UI, it doesn't. Could you have a look at it, please?