You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this .sq file, the second comment does not result in the generated method having a doc comment:
CREATETABLEiconPreference (
href TEXTPRIMARY KEYNOT NULL,
icon TEXTNOT NULL
);
/** * this shows up as a doc comment*/
selectAll:
SELECT*FROM iconPreference;
/** * this does not*/
getIcon:
SELECT icon FROM iconPreference WHERE href = ?;
The generated interface looks like this
publicinterfaceIconPreferenceQueries : Transacter {
publicfun <T:Any> selectAll(mapper: (href: String, icon: String) ->T): Query<T>
/** * this shows up as a doc comment*/publicfunselectAll(): Query<IconPreference>
publicfungetIcon(href:String): Query<String>
}
I have not observed this with any other kind of query (insert, update, delete, select *, or select with two or more explicit columns).
It would also be nice if the doc comment for selectAll showed up for both methods which are generated for it, but I care more about the other comment being dropped completely.
Stacktrace
No response
Gradle Build Script
No response
The text was updated successfully, but these errors were encountered:
SQLDelight Version
1.5.5
Operating System
Multiplatform
Gradle Version
7.4.2
Kotlin Version
1.7.20
Dialect
3.24
AGP Version
N/A
Describe the Bug
In this .sq file, the second comment does not result in the generated method having a doc comment:
The generated interface looks like this
I have not observed this with any other kind of query (insert, update, delete, select *, or select with two or more explicit columns).
It would also be nice if the doc comment for
selectAll
showed up for both methods which are generated for it, but I care more about the other comment being dropped completely.Stacktrace
No response
Gradle Build Script
No response
The text was updated successfully, but these errors were encountered: