Razvan11/06/2020, 12:16 AM
you declare in meta :
data class Test(val name: Int)
you call in a curl with
receiving(Body.auto<Test>().toLens() to Test(3))
it passes (it’s ok is just for reference of a correct call) but you call also with a bad keyname ex:
the call is valid. if name is a String this works as expected, fails if the key is spelled bad. I don’t use that value so don’t know if the created object would be valid. I’ll try to make a full test tomorrow evening too late for that right now.
dave11/06/2020, 7:18 AM