rouzwawi / grpc-kotlin

gRPC with Kotlin Coroutines
https://gitter.im/gRPC-Kotlin/Lobby
Apache License 2.0
220 stars 23 forks source link

Please fix these deprecations #5

Closed UkonnRa closed 6 years ago

UkonnRa commented 6 years ago
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (77, 28): 'constructor LinkedListChannel<E>()' is deprecated. Replace with Channel factory function
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (89, 28): 'constructor LinkedListChannel<E>()' is deprecated. Replace with Channel factory function
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (179, 5): 'launch(CoroutineContext = ..., CoroutineStart = ..., CompletionHandler? /* = ((cause: Throwable?) -> Unit)? */ = ..., suspend CoroutineScope.() -> Unit): Job' is deprecated. Standalone coroutine builders are deprecated, use extensions on CoroutineScope instead
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (179, 5): The feature "coroutines" is experimental (see: https://kotlinlang.org/docs/diagnostics/experimental-coroutines)
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (193, 5): 'launch(CoroutineContext = ..., CoroutineStart = ..., CompletionHandler? /* = ((cause: Throwable?) -> Unit)? */ = ..., suspend CoroutineScope.() -> Unit): Job' is deprecated. Standalone coroutine builders are deprecated, use extensions on CoroutineScope instead
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (193, 5): The feature "coroutines" is experimental (see: https://kotlinlang.org/docs/diagnostics/experimental-coroutines)
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (215, 42): 'completeExceptionally(Throwable): Boolean' is deprecated. Use cancel
w: /Users/ukonnra/Workspaces/JavaWorkspace/CasterBlogVertxKotlin/build/generated/source/proto/main/grpckotlin/com/casterkkk/blog/user/GreeterGrpcKt.kt: (219, 44): 'constructor LinkedListChannel<E>()' is deprecated. Replace with Channel factory function
rouzwawi commented 6 years ago

@CasterKKK Thanks for reporting, this is now fixed in #6