https://kotlinlang.org logo
#exposed
Title
# exposed
s

Szymon Lipiński

10/16/2019, 5:08 PM
Just a small remark. I'd really love to use this library. However, the lack of documentation to almost everything makes it really impossible. Function name is not enough to understand what I should use. Really. There are classes like Database where there is literally not a single line of documentation. Also the
notForUpdate
function is a mystery 🙂 I just hope that I get what it really does. Also, I think that if a column has a name like
xx"yy
then it would be escaped incorrectly, however, I have a small problem with tracking the code responsible for this.
a

adamd

10/23/2019, 10:27 AM
Have you seen https://github.com/JetBrains/Exposed/wiki/ ? I'm not saying it's perfect, but I wouldn't call it "not a single line of documentation". Moreover, after enabling debug log you can see SQL queries generated by your Kotlin code.
s

Szymon Lipiński

10/23/2019, 3:03 PM
I was reading code directly in the IDE, so there was no documentation in the classes. Wiki is nice, however, I'm sure it's not updated right after code is modified. I use an IDE to get nice help while I'm code. That's why the lack of documentation, I was referring to, was only about the lack of the functions/classes docstrings, which made it impossible to get info inside the IDE.
a

adamd

10/24/2019, 7:45 AM
oh, I see. That's right, there are no docs in the code, unfortunately. But you know, this is OSS, so I guess you can change it 😉
7 Views