<@U01SP2GJYAU> I think we once spoke about spacing...
# komapper
d
@Toshihiro Nakamura I think we once spoke about spacing before and after template placeholders... I'm wondering if somehow the adding of whitespace could be controlled in a future version of Komapper. Say
/*% if ... */\n
would add a new line, but
/*% if ... *_/\n
would suppress any whitespace after it and before the next text it contains (whereas
/_*% if ... */\n
would do the opposite) allowing to make the sql templates look nicer, while at the same time making printing out the generated sqls and testing against them simpler and nicer...
t
Thanks for sharing your idea. Sorry, but I’m not sure if that feature is necessary.