Skip to content

Commit 46c4bf7

Browse files
committed
[UPDATE] Also added inline comment to guide future users
Related to #13
1 parent 5b24b85 commit 46c4bf7

File tree

1 file changed

+6
-0
lines changed
  • src/main/kotlin/dev/hossain/postgresqldelight

1 file changed

+6
-0
lines changed

src/main/kotlin/dev/hossain/postgresqldelight/Main.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ fun main(args: Array<String>) {
1313
println("Begin SQLDelight 2.0 with PostgreSQL Sample!")
1414
val appConfig: AppConfig = AppConfigLoader().loadAppConfig()
1515
val sportsRepository = SportsRepository()
16+
// ℹ️ NOTE:
17+
// =================
18+
// If your `PlayerQueries` is marked red, that means the generated class is not available.
19+
// You have to run the following gradle task to generate the class.
20+
// - generateSqlDelightInterface: Aggregation task which runs every interface generation task for every given source
21+
// Run `./gradlew generateSqlDelightInterface` from terminal or from IntelliJ IDEA Gradle tool window.
1622
val playerQueries: PlayerQueries = sportsRepository.getPlayerQueries(appConfig)
1723

1824
testDriveDatabase(playerQueries, faker { })

0 commit comments

Comments
 (0)