korma / Korma

Tasty SQL for Clojure.
http://sqlkorma.com
1.48k stars 222 forks source link

Protect generate one more times raw sql #352

Closed gfZeng closed 8 years ago

immoh commented 8 years ago

Can you provide a failing test that this change fixes, thanks.

gfZeng commented 8 years ago

@immoh I have already added test for my changes

immoh commented 8 years ago

Is there a scenario where you end up with double raw call? Or is it just to protect from user mistakes? If it is the latter then I don't think it makes much sense to add this protection for raw only.