dave08
06/20/2023, 12:55 PMget()
using Arrow Optics? It might avoid a bunch of gets to drill down a hierarchy and get { }
that inspects the source code itself...dave08
06/20/2023, 1:08 PMfun <R> Assertion.Builder<JsonElement>.getEvery(function: Every<JsonElement, R>): DescribeableBuilder<List<R>> {
val result = function.getAll(this.subject)
return get("Get from 'every' optic: $result") { result }
}
dave08
06/20/2023, 1:09 PMrobfletcher
06/20/2023, 4:59 PMdave08
06/20/2023, 7:27 PM