Adam Wilder

Results 9 comments of Adam Wilder

Clean usage with other suspending functions. If I wanted to schedule once a day to refresh data from a third party API, that API client is likely a publisher or...

So is the recommended solution to wrap it with `runBlocking {}`?

This is what I tried. Since the runner checks for 0 arguments, I added an else case to check for one argument of the continuation type but I got stuck...

Got it working, thank you! I use kord-extensions so I had to go digging for a snapshot version which uses the M15 kord package. After I resolved that

A workaround for this is: ```kotlin @get:JvmName("getIsImportant") val isImportant: Boolean ```

Attempted fix and discussion about such going on here: https://github.com/micronaut-projects/micronaut-core/pull/7058

Another use case is dto projection right now only works with repository methods implemented by micronaut-data without `@Query`. ```kotlin interface ThingRepository: PageableRepository { // normal, works fun findById(id: Int): Page...

github: https://github.com/rawilder/mn-data-dto-demo query dto method: https://github.com/rawilder/mn-data-dto-demo/blob/master/src/main/kotlin/dev/awilder/TestEntityRepo.kt#L22 failing test: https://github.com/rawilder/mn-data-dto-demo/blob/master/src/test/kotlin/dev/awilder/MnDataDtoDemoTest.kt#L26

This is happening with Java 17 as well. Discovered while trying to get one of my applications running on graalvm. Funnily enough, it works for compiling and running, it's just...