damian
12/13/2017, 6:52 PMorangy
12/18/2017, 1:17 PMryotakei
12/18/2017, 5:57 PMryotakei
12/18/2017, 5:57 PMembeddedServer(Netty, 8080)
or something where you can "push" your ktor project to localhost:8080
ryotakei
12/19/2017, 4:19 PMcedric
12/19/2017, 10:05 PMmargin.left("auto")
? I could certainly use the autocompletion.Walter Meier
12/22/2017, 4:23 PMkatien
12/23/2017, 9:03 PMbdawg.io
12/24/2017, 10:15 PMasad.awadia
12/27/2017, 5:32 PMdamian
12/28/2017, 2:31 PMktor
, exposed
and authentication? i'm looking at the different options at the moment, would be nice to get some feedback. for OAuth
i assume i have to set-up an oauth provider (given that im storing my users in my own database / accessed via exposed
), but not sure if there's a good way to do this in ktor. otherwise i'd probably go towards JWT
since that's probably more straight-forward for now.bdawg.io
12/29/2017, 11:15 PMluisvt
01/04/2018, 12:13 AMGroovy on Grails
for kotiln?jw
01/04/2018, 1:03 AMryotakei
01/04/2018, 4:35 PMdeviant
01/05/2018, 8:35 AMexposed
or squash
? it seems both serve for same purpose. exposed
is being maintained extensively at first sight, has more stars on github and reasonable documentation. but squash
is used in all recent JetBrains demo apps like kotlinconf-app
or kotlin-fullstack-sample
. what would you suggest for beginners?rrva
01/05/2018, 9:43 AMv79
01/05/2018, 9:53 AMRandomBK
01/08/2018, 8:33 AMCollection
on methods that would normally be on the mutable Java Collection
interface but not on Kotlin's read-only interface. The declaration collision is against a synthetic inheritor
, which seems to be generated at https://github.com/JetBrains/kotlin/blob/master/compiler/backend/src/org/jetbrains/kotlin/codegen/CollectionStubMethodGenerator.ktorangy
01/08/2018, 10:50 AMvelebak
01/10/2018, 7:52 PMMuthu
01/14/2018, 4:56 PM<http://ktor.io/quickstart/gradle>
I'm getting error Could not get unknown property 'ktor_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Below is the dependencies I'm using in build gradle file
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
s4nchez
01/15/2018, 3:17 PM{ request: Request -> Response(OK).body("Hello World") }.asServer(Jetty(8000)).start().block()
kielpedia
01/21/2018, 1:52 AMwithTestApplication
in my unit test because I am using a system property in my App like val property = environment.config.property("randomproperty").getString()
fabricio
01/21/2018, 9:56 AM@Document(collection = "schedules")
data class ScheduleDocument(val payload: Payload) {
}
is stored as:
{
"_id" : ObjectId("5a636f2e5017622fc0c4654a"),
"_class" : "example.Payload",
"channel" : "push",
"schedule" : ISODate("2018-01-20T16:32:46.535Z")
}
But I was expecting payload
to be a subdocument, like this:
{
"_id" : ObjectId("5a636f2e5017622fc0c4654a"),
"_class" : "example.ScheduleDocument",
"payload": {
"channel" : "push",
"schedule" : ISODate("2018-01-20T16:32:46.535Z")
}
}
can anyone explain this behavior?damian
01/21/2018, 1:57 PMorangy
01/23/2018, 7:20 AMJimmy Alvarez
01/23/2018, 4:08 PMjivimberg
01/27/2018, 12:01 AMelaborate tissue
01/27/2018, 4:12 PMelaborate tissue
01/27/2018, 4:12 PMnapperley
01/28/2018, 2:27 AMlex
01/29/2018, 3:39 AM