Open chrisp60 opened 4 hours ago
Problem here is that you want to be able add a delimiter inside a delimiter, which is not allowed in the jinja syntax. I agree it would be nice to be able to add docs on arguments, but in this case, it'd make rinja not compliant with jinja.
Yeah that is not something I did not even begin to consider. Up to you if you want to leave this up as a possibility for the future.
I imagine the compatibility is something you would prefer to keep. I am inclined to believe you if you say it just isn't possible.
I am using git main
Admittedly, this use case is derived from a somewhat degenerate pattern.
I can define this macro...
This fails to compile...
The error provided is...
error: expected
)to close macro argument list
The error correctly points to the issue.My use case for wanting this feature is the below macro definition. I have to make a substantial amount of user forms for my project.
Why I am requesting this
Why this may not be a good feature
bon
ortyped_builder
)I would not at all be disappointed if this was rejected. If approved, I could attempt an implementation