Emil Kantis

Results 145 comments of Emil Kantis

Think this could be a candidate for 6.0 @sksamuel ?

I agree, big breaking change. Would it be wrong to consider them equal though? Perhaps we could make it possible to opt-out from the deep equals handling..

I typically define a method for reading from the test resources like: ```kotlin fun readResource(path: String): String = object {}.javaClass.getResource(path)?.readText() ?: error("Failed to load resource at $path") ``` then your...

Ah.. gotcha! That's pretty neat. Could we somehow maybe have `str shouldMatchResource("/integration/workflow.yaml")` w/o any setup (always assume from test resources) and if that particular assertion fails, write `str` to a...

This is already _not working_ since sam [fixed](https://github.com/kotest/kotest/commit/e33631f1cc3032a54d876ce3e44953bbe268ca6c) runtime-retention of DSL annotation in 5.4.0

I think this was a workaround for supporting Kotlin 1.5. With this change it won't be possible to write and test gradle plugins for version 7.4 and earlier. I think...

I started doing something similar a while back, nothing too fleshed out but feel free to take inspiration (or copy everything).. https://github.com/Kantis/mockserver-kotlin

I think your suggested DSL is nicer btw, so not sure if the link adds anything at all.. 😂

I had a similar problem with wanting to use claims-based ratelimiting. My solution was to register the ratelimiting middleware _after_ authentication. In `Startup.cs#Configure`: ``` app.UseAuthentication(); app.UseClientRateLimiting(); ``` Then using a...