Open mooreds opened 3 years ago
I looked at that macro and couldn't figure out how to make it work because what we really want is:
(str(<value>).lower())
which converts True
to "true"
. But I couldn't figure out how to determine, from the inputs to that macro, if a value was a boolean (and also make sure that the global -> _global
rename took place as well). Since there was a valid workaround I thought that documentation would be enough.
I think we have some helper code for this already. https://github.com/FusionAuth/fusionauth-client-builder/blob/f6b91bf5e8bda7921a891a7f25ec98fd02dd0fd6/src/main/client/_macros.ftl#L200
Perhaps we just need to use this macro in more places for python code?